Class: SalesforceStreamer::CLI
- Inherits:
-
Object
- Object
- SalesforceStreamer::CLI
- Defined in:
- lib/salesforce_streamer/cli.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
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 @parser.parse! @argv end |