ExeCommand


Attributes

a default_interactive

0

a default_verbosity

0

a description

'Use this at the top of files like:\n\n  #!/usr/bin/env /path/to/paster exe subcommand <command options>\n\nThe rest of the file will be used as a config file for the given\ncommand, if it wants a config file.\n\nYou can also include an [exe] section in the file, which looks\nlike:\n\n  [exe]\n  command = serve\n  log_file = /path/to/log\n  add = /path/to/other/config.ini\n\nWhich translates to:\n\n  paster serve --log-file=/path/to/log /path/to/other/config.ini\n'

a group_name

''

a hidden

True

a max_args

None

a max_args_error

'You must provide no more than %(max_args)s arguments'

a min_args

None

a min_args_error

'You must provide at least %(min_args)s arguments'

a parser

<paste.script.bool_optparse.BoolOptionParser instance at 0x8caa90c>

a required_args

()

a return_code

0

a summary

'Run #! executable files'

a takes_config_file

None

a usage

''

Methods

f run(self, argv) ...

f __init__(self, name) ...

See the source for more information.