Class: AirtableBaseBuilder::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/airtable_base_builder/cli.rb

Instance Method Summary collapse

Instance Method Details

#build_base(name, csv) ⇒ Object



16
17
18
# File 'lib/airtable_base_builder/cli.rb', line 16

def build_base(name, csv)
  AirtableBaseBuilder::BaseBuilder.new(name, csv, options[:delete_file]).build
end

#config(option, value) ⇒ Object



10
11
12
# File 'lib/airtable_base_builder/cli.rb', line 10

def config(option, value)
  AirtableBaseBuilder::Config.new.add_option(option, value)
end