"""fetch subcommand
usage: ape fetch -h
ape fetch [<name>...] [--module <module> ...]
positional arguments:
<name> List of plugin-names (default=['Ape'])
optional arguments:
-h, --help Show this help message and exit
-m, --module <module> ... Non-ape modules
"""
These are arguments for the fetch sub-command (see the developer documentation for more information).
class FetchArgumentsConstants(object):
"""
Constants for the `fetch` sub-command arguments
"""
__slots__ = ()
# arguments and options
names = "<name>"
modules = '--module'
# defaults
default_names = ['Ape']
FetchStrategy | |
FetchStrategy.function |
The function method is wrapped by the try_except decorator so it should never crash.