The Fetch Sub-Command Arguments

"""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).

The Fetch Arguments Constants

class FetchArgumentsConstants(object):
    """
    Constants for the `fetch` sub-command arguments
    """
    __slots__ = ()
    # arguments and options
    names = "<name>"
    modules = '--module'

    # defaults
    default_names = ['Ape']

The FetchArguments

BaseArguments <|-- FetchArguments

FetchArguments
FetchArguments.names
FetchArguments.modules
FetchArguments.reset

The FetchStrategy

FetchStrategy
FetchStrategy.function

The function method is wrapped by the try_except decorator so it should never crash.