Class: BoxCli::InfoCommand
- Inherits:
-
BoxCommand
- Object
- Command
- BoxCommand
- BoxCli::InfoCommand
- Defined in:
- lib/box_cli/info_command.rb
Constant Summary
Constants inherited from Command
Instance Attribute Summary
Attributes inherited from Command
#args, #global_options, #local_options
Instance Method Summary collapse
Methods inherited from BoxCommand
Methods inherited from Command
Constructor Details
This class inherits a constructor from BoxCli::BoxCommand
Instance Method Details
#call ⇒ Object
3 4 5 6 7 8 |
# File 'lib/box_cli/info_command.rb', line 3 def call path, = @args path ||= '.' info = wrapper.info(path) Displayer.new.display info.extend(HashToPretty).to_pretty end |