Inherit from Bundler::Thor::Shell::Basic and add set_color behavior. Check Bundler::Thor::Shell::Basic to see all available methods.
Constants
BLACK = "\\e[30m"
BLUE = "\\e[34m"
BOLD = "\\e[1m"
CLEAR = "\\e[0m"
CYAN = "\\e[36m"
GREEN = "\\e[32m"
MAGENTA = "\\e[35m"
ON_BLACK = "\\e[40m"
ON_BLUE = "\\e[44m"
ON_CYAN = "\\e[46m"
ON_GREEN = "\\e[42m"
ON_MAGENTA = "\\e[45m"
ON_RED = "\\e[41m"
ON_WHITE = "\\e[47m"
ON_YELLOW = "\\e[43m"
RED = "\\e[31m"
WHITE = "\\e[37m"
YELLOW = "\\e[33m"
Files
- lib/bundler/vendor/thor/lib/thor/shell/color.rb