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.
7 8 9 |
# File 'lib/table_beet/cli.rb', line 7 def initialize(opts = nil) @runner = TableBeet::Runner.new(opts || ) end |
Class Method Details
.run(opts = nil) ⇒ Object
15 16 17 |
# File 'lib/table_beet/cli.rb', line 15 def self.run(opts = nil) TableBeet::CLI.new(opts).run end |
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/table_beet/cli.rb', line 11 def run @runner.run end |