Class: EYCli::Command::Base
- Inherits:
-
Object
- Object
- EYCli::Command::Base
show all
- Defined in:
- lib/ey_cli/commands/base.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
4
5
6
|
# File 'lib/ey_cli/commands/base.rb', line 4
def options
@options
end
|
Instance Method Details
#run(args = []) ⇒ Object
6
7
8
9
|
# File 'lib/ey_cli/commands/base.rb', line 6
def run(args = [])
@options = options_parser.parse(args)
invoke
end
|