Module: Escort

Defined in:
lib/escort/formatter/borderless_table.rb,
lib/escort/app.rb,
lib/escort/utils.rb,
lib/escort/logger.rb,
lib/escort/version.rb,
lib/escort/arguments.rb,
lib/escort/validator.rb,
lib/escort/error/error.rb,
lib/escort/auto_options.rb,
lib/escort/option_parser.rb,
lib/escort/setup_accessor.rb,
lib/escort/formatter/option.rb,
lib/escort/setup/dsl/action.rb,
lib/escort/setup/dsl/global.rb,
lib/escort/formatter/command.rb,
lib/escort/formatter/options.rb,
lib/escort/global_pre_parser.rb,
lib/escort/setup/dsl/command.rb,
lib/escort/setup/dsl/options.rb,
lib/escort/formatter/commands.rb,
lib/escort/formatter/terminal.rb,
lib/escort/action_command/base.rb,
lib/escort/setup/dsl/config_file.rb,
lib/escort/setup/dsl/validations.rb,
lib/escort/formatter/global_command.rb,
lib/escort/formatter/string_splitter.rb,
lib/escort/setup/configuration/loader.rb,
lib/escort/setup/configuration/reader.rb,
lib/escort/setup/configuration/writer.rb,
lib/escort/option_dependency_validator.rb,
lib/escort/formatter/terminal_formatter.rb,
lib/escort/setup/configuration/instance.rb,
lib/escort/setup/configuration/generator.rb,
lib/escort/setup/configuration/merge_tool.rb,
lib/escort/formatter/default_help_formatter.rb,
lib/escort/formatter/shell_command_executor.rb,
lib/escort/setup/configuration/locator/base.rb,
lib/escort/action_command/escort_utility_command.rb,
lib/escort/setup/configuration/locator/descending_to_home.rb

Overview

TODO rename to StreamOutputFormatter get rid of the display method, it doesn’t really add anything the max_width should be max_line_width not terminal_columns, there should be no default max_width indent_count should be indent_width probably don’t really need indent_char, we can assume it is a space this will only work well with ASCII chars only!!!

Defined Under Namespace

Modules: ActionCommand, Error, Formatter, Setup Classes: App, Arguments, AutoOptions, BaseError, ClientError, GlobalPreParser, InternalError, Logger, OptionDependencyValidator, OptionParser, SetupAccessor, TransientError, UserError, Utils, Validator

Constant Summary collapse

VERSION =
'0.2.0'
INTERNAL_ERROR_EXIT_CODE =
1
CLIENT_ERROR_EXIT_CODE =
2
USER_ERROR_EXIT_CODE =
3
EXTERNAL_ERROR_EXIT_CODE =
10