Ravn::
CLI module
Command-line interface framework for Ravn
utilities.
Constants
- DEFAULT_REPO_LIST
The list of repositories to maintain with developer
CLI
commands. The defaults are all relative to the ::projects_dir, but they can be overridden with absolute paths as well.- EDITOR_ENV_VARS
The environment variables with the path to the user’s editor in the order they’ll be tried. These will be used when there is no Ravn::CLI.editor configured.
- FALLBACK_EDITOR_COMMAND
The editor to use if all else fails
- PROGRESSBAR_FORMAT
The format of progress bars
- RAVN_GIT_URL
The base git URL for
Ravn
projects
Public Class Methods
Add the commands from the registered subcommand modules.
Load commands from any files in the specified directory relative to LOAD_PATHs
Custom command loader. The default one is silly.
Load the config file using either Ravn’s config-loader if available, or fall back to DEFAULT_CONFIG_FILE
Return the Pastel colorizer.
Return the TTY prompt used by the command to communicate with the user.
Add the specified +mod+ule containing subcommands to the ‘ravn’ command.
Load any additional Ruby libraries given with the -r global option.
Discard the existing HighLine prompt object if one existed. Mostly useful for testing.
Overridden – Add registered subcommands immediately before running.
Set the global logging level
if it’s defined.
Set up the output levels and globals based on the associated global
options.
Setup pastel color aliases
Public Instance Methods
Registered subcommand modules