This document describes an older version of Celery (2.5). For the latest stable version please go here.
Base class for command line applications.
Parameters: |
|
---|
alias of OptionParser
Arg list used in help.
Enable if the application should support config from the cmdline.
Execute application from command line.
Parameters: | argv – The list of command line arguments. Defaults to sys.argv. |
---|
Get supported command line options.
Parses command line arguments from argv and dispatches to run().
Parameters: |
|
---|
Exits with an error message if supports_args is disabled and argv contains positional arguments.
Default configuration namespace.
List of options (without preload options).
Parse the available options.
List of options to parse before parsing other options.
Optional handler to do additional processing of preload options.
Configuration must not have been initialized until after this is called.
This is the body of the command called by handle_argv().
If false the parser will raise an exception if positional args are provided.
Returns the command-line usage string for this app.
Application version.