Class: CLI
- Inherits:
-
Object
- Object
- CLI
- Defined in:
- lib/taf/cli.rb
Overview
Handles CLI argument parsing and command execution
Instance Method Summary collapse
-
#initialize(args) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(args) ⇒ CLI
Returns a new instance of CLI.
8 9 10 11 12 13 14 |
# File 'lib/taf/cli.rb', line 8 def initialize(args) @args = args @mode = :default @file = nil @message = nil @taf = nil end |
Instance Method Details
#run ⇒ Object
16 17 18 19 20 |
# File 'lib/taf/cli.rb', line 16 def run execute_command end |