Module: GLI::Commands
- Defined in:
- lib/gli/commands/doc.rb,
lib/gli/commands/help.rb,
lib/gli/commands/scaffold.rb,
lib/gli/commands/compound_command.rb,
lib/gli/commands/rdoc_document_listener.rb,
lib/gli/commands/help_modules/text_wrapper.rb,
lib/gli/commands/help_modules/command_finder.rb,
lib/gli/commands/help_modules/list_formatter.rb,
lib/gli/commands/help_modules/one_line_wrapper.rb,
lib/gli/commands/help_modules/tty_only_wrapper.rb,
lib/gli/commands/help_modules/verbatim_wrapper.rb,
lib/gli/commands/help_modules/options_formatter.rb,
lib/gli/commands/help_modules/arg_name_formatter.rb,
lib/gli/commands/help_modules/global_help_format.rb,
lib/gli/commands/help_modules/command_help_format.rb,
lib/gli/commands/help_modules/help_completion_format.rb,
lib/gli/commands/help_modules/full_synopsis_formatter.rb,
lib/gli/commands/help_modules/compact_synopsis_formatter.rb,
lib/gli/commands/help_modules/terminal_synopsis_formatter.rb
Defined Under Namespace
Modules: HelpModules Classes: CompoundCommand, Doc, Help, RdocDocumentListener, Scaffold
Constant Summary collapse
- SORTERS =
{ :manually => lambda { |list| list }, :alpha => lambda { |list| list.sort }, }
- WRAPPERS =
{ :to_terminal => HelpModules::TextWrapper, :never => HelpModules::OneLineWrapper, :one_line => HelpModules::OneLineWrapper, :tty_only => HelpModules::TTYOnlyWrapper, :none => HelpModules::VerbatimWrapper, :verbatim => HelpModules::VerbatimWrapper, }
- SYNOPSIS_FORMATTERS =
{ :full => HelpModules::FullSynopsisFormatter, :compact => HelpModules::CompactSynopsisFormatter, :terminal => HelpModules::TerminalSynopsisFormatter, }