Module Bee::Console
In: lib/bee_console.rb

Methods

Classes and Modules

Class Bee::Console::Formatter
Class Bee::Console::Listener

Constants

HELP = 'Usage: bee [options] [targets] -V Print version and exit. -h Print help about usage and exit. -b Print help about build and exit. -n Don\'t actually run any commands; just print them. -k task Print help about tasks in a package (writing "foo.?") or a given one (writing "foo.bar") and exit. -e egg Print help about templates in a given package (writing "foo.?") or a given one (writing "foo.bar") and exit. -p name=value Set a named property with a given value. -t egg Run a given egg to generate a template project. -v Enable verbose mode. -s style Define style for output (see documentation). -f file Build file to run (defaults to "build.yml"). -r Look for build file recursively up in file system. -l Print bee logo on console. targets Targets to run (default target if omitted).'   Command line help.
DEFAULT_BUILD_FILE = 'build.yml'   Name for default build file.
EXIT_PARSING_CMDLINE = 1   Exit value on error parsing command line
EXIT_BUILD_ERROR = 2   Exit value on build error
EXIT_UNKNOWN_ERROR = 3   Exit value on unknown error
BEE_OPT_ENV = 'BEEOPT'   Bee options environment variable.
BEE_LOGO = <<'EOF' _ | |__ ___ ___ _____ | '_ \ / _ \/ _ \ _____ _____ _____ _____ _____ _____ _____ _____ |_____| | |_) | __/ __/ |_____|_____|_____|_____|_____|_____|_____|_____| |_.__/ \___|\___| 0.5.0 http://bee.rubyforge.org EOF   Bee text logo (generated with www.network-science.de/ascii/)

Public Class methods

Parse command line and return parsed arguments.

Parse a command line property.

  • property: property definition as "name=value".

Return: name and value of the property.

Start build from command line.

[Validate]