Class: HammerCLI::ShellMainCommand::ExitCommand

Inherits:
AbstractCommand
  • Object
show all
Defined in:
lib/hammer_cli/shell.rb

Instance Attribute Summary

Attributes inherited from AbstractCommand

#context

Instance Method Summary collapse

Methods inherited from AbstractCommand

#adapter, add_sets_help, build_options, #clean_up_context, command_extensions, #exception_handler, extend_help, extend_options_help, extend_output_definition, extend_with, #help, help, help_extension_blocks, inherited_command_extensions, #initialize, #interactive?, option_builder, #output, output, #output_definition, output_definition, #parent_command, #parse, #run, use_option, #validate_options, validate_options

Methods included from HammerCLI::Subcommand

included

Constructor Details

This class inherits a constructor from HammerCLI::AbstractCommand

Instance Method Details

#executeObject



24
25
26
# File 'lib/hammer_cli/shell.rb', line 24

def execute
  exit HammerCLI::EX_OK
end