Class: HubStore::Cli

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Cli

Returns a new instance of Cli.



11
12
13
# File 'lib/hub_store/cli.rb', line 11

def initialize(argv)
  @argv = argv
end

Class Method Details

.run(*args) ⇒ Object



7
8
9
# File 'lib/hub_store/cli.rb', line 7

def self.run(*args)
  new(*args).run
end

Instance Method Details

#runObject



15
16
17
18
19
# File 'lib/hub_store/cli.rb', line 15

def run
  link_logger_to_ui
  import_data
  export_csv
end