public
Description: Dependency Resolution Framework
Home | Edit | New

Command Line Usage

The command line for WarningShot can be different depending on what Resolvers are installed. Each resolver can extend the command line via WarningShot::Resolver.cli.

The Basic CLI


---------------------------------Standard Flags---------------------------------
    -e, --environment=STRING         Environment to test in
                                     Default: development
        --resolve                    Resolve missing dependencies
                                              (probably need sudo)
    -a, --app=PATH                   Path to application
                                     Default: .
    -c, --configs=PATH               Path to config directories (':' seperated)
                                     Default: ./config/warningshot:~/.warningshot
-----------------------------Resolver Loading Flags-----------------------------
    -r, --resolvers=PATH             Globs to add'l resolvers (':' seperated)
                                     Default: ~/.warningshot/*.rb
        --oload=LIST                 Only load specified resolvers (Command seperated)
        --pload=LIST                 Load specified resolvers only,
                                         setting sequential priority (Command seperated)
----------------------------------Output Flags----------------------------------
    -l, --log=LOG                    Path to log file
                                     Default: ./log/warningshot.log
        --loglevel=LEVEL             Default: info
    -g, --growl                      Output results via growl (Requires growlnotify)
    -p, --[no-]prettycolors          Colorize output
    -v, --verbose                    Output verbose information
        --very-verbose               Outputs debugging information, 
                                              same as --loglevel=DEBUG
--------------------------------Prestaging Flags--------------------------------
        --build-deps                 Installs gems that WarningShot resolvers 
                                            depend on into standard RubyGems path
                                            (probably need sudo)
        --list-deps                    List all core libs and gems that 
                                            each resolver is dependent on
----------------------------Help, Info, & Etc. Flags----------------------------
    -t, --templates[PATH]            Generate template files
                                     Default: .
        --version                    Show version
    -h, --help                       Show this help message
        --debugger                   Enable debugging
----------------------------Resolver Specific Flags-----------------------------
        --gempath=PATH               Alternate gem path ':' separated to check.
                                             First in path is where gems will be installed
        --update-sources             Update gem sources before installing
        --notes                      List all the notes in the manual branch
        --strict                     Success is only for 200 instead of 2xx|3xx
        --rootcert                   Path to root ca certificate
        --vdepth                     SSL Verify Peer Depth
Last edited by alx, Tue May 26 06:30:15 -0700 2009
Home | Edit | New
Versions: