Class: SalesforceStreamer::CLI

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

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ CLI

Returns a new instance of CLI.


3
4
5
6
7
8
# File 'lib/salesforce_streamer/cli.rb', line 3

def initialize(argv)
  @argv = argv
  @config = Configuration.instance
  setup_options
  @parser.parse! @argv
end

Instance Method Details

#runObject


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

def run
  Launcher.new.run
end