Class: TableBeet::CLI
- Inherits:
-
Object
- Object
- TableBeet::CLI
- Defined in:
- lib/table_beet/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(opts = nil) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(opts = nil) ⇒ CLI
Returns a new instance of CLI.
9 10 11 |
# File 'lib/table_beet/cli.rb', line 9 def initialize(opts = nil) @runner = TableBeet::Runner.new(opts || ) end |
Class Method Details
.run(opts = nil) ⇒ Object
17 18 19 |
# File 'lib/table_beet/cli.rb', line 17 def self.run(opts = nil) TableBeet::CLI.new(opts).run end |
Instance Method Details
#run ⇒ Object
13 14 15 |
# File 'lib/table_beet/cli.rb', line 13 def run @runner.run end |