Class: Spanx::CLI
- Inherits:
-
Object
- Object
- Spanx::CLI
- Includes:
- Mixlib::CLI, Helper::Exit, Helper::Subclassing
- Defined in:
- lib/spanx/cli.rb
Defined Under Namespace
Classes: Analyze, Api, Disable, Enable, Flush, Report, Watch
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
-
#run(args = ARGV) ⇒ Object
the first element of ARGV should be a subcommand, which maps to a class in spanx/cli/.
Methods included from Helper::Subclassing
Methods included from Helper::Exit
#error_exit_with_msg, #help_exit
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
10 11 12 |
# File 'lib/spanx/cli.rb', line 10 def args @args end |