Module: Coglius

Includes:
App
Defined in:
lib/coglius.rb,
lib/coglius/app.rb,
lib/coglius/dsl.rb,
lib/coglius/flag.rb,
lib/coglius/switch.rb,
lib/coglius/command.rb,
lib/coglius/options.rb,
lib/coglius/version.rb,
lib/coglius/terminal.rb,
lib/coglius/exceptions.rb,
lib/coglius/app_support.rb,
lib/coglius/commands/doc.rb,
lib/coglius/commands/help.rb,
lib/coglius/command_support.rb,
lib/coglius/commands/scaffold.rb,
lib/coglius/gli_option_parser.rb,
lib/coglius/command_line_token.rb,
lib/coglius/command_line_option.rb,
lib/coglius/commands/initconfig.rb,
lib/coglius/option_parser_factory.rb,
lib/coglius/copy_options_to_aliases.rb,
lib/coglius/commands/compound_command.rb,
lib/coglius/commands/rdoc_document_listener.rb,
lib/coglius/commands/help_modules/text_wrapper.rb,
lib/coglius/commands/help_modules/command_finder.rb,
lib/coglius/commands/help_modules/list_formatter.rb,
lib/coglius/commands/help_modules/one_line_wrapper.rb,
lib/coglius/commands/help_modules/tty_only_wrapper.rb,
lib/coglius/commands/help_modules/verbatim_wrapper.rb,
lib/coglius/commands/help_modules/options_formatter.rb,
lib/coglius/commands/help_modules/arg_name_formatter.rb,
lib/coglius/commands/help_modules/global_help_format.rb,
lib/coglius/commands/help_modules/command_help_format.rb,
lib/coglius/commands/help_modules/help_completion_format.rb

Defined Under Namespace

Modules: App, AppSupport, CommandSupport, Commands, CopyOptionsToAliases, DSL, StandardException Classes: BadCommandLine, CogliusOptionParser, Command, CommandLineOption, CommandLineToken, CustomExit, Flag, InitConfig, OptionParserFactory, Options, Switch, Terminal, UnknownCommand, UnknownCommandArgument, UnknownGlobalArgument

Constant Summary collapse

VERSION =
'0.0.2'

Class Method Summary collapse

Methods included from App

#accept, #around, #config_file, #default_command, #exit_now!, #help_now!, #on_error, #post, #pre, #preserve_argv, #program_desc, #program_long_desc, #program_name, #skips_around, #skips_post, #skips_pre, #sort_help, #stamp_app, #use_openstruct, #version, #wrap_help_text

Methods included from AppSupport

#accepts, #around_blocks, #clear_nexts, #commands, #commands_declaration_order, #config_file_name, #context_description, #copy_options_to_aliased_versions, #error_device=, #flags, #get_default_command, #help_sort_type, #help_text_wrap_type, #override_command_defaults, #override_default, #override_defaults_based_on_config, #parse_config, #post_block, #pre_block, #reset, #run, #stderr, #switches, #version_string

Methods included from DSL

#arg_name, #clear_nexts, #command, #default_value, #desc, #flag, #flags_declaration_order, #long_desc, #switch, #switches_declaration_order

Methods included from CopyOptionsToAliases

#copy_options_to_aliases

Class Method Details

.included(klass) ⇒ Object



26
27
28
# File 'lib/coglius.rb', line 26

def self.included(klass)
  warn "You should include Coglius::App instead"
end