vcorelib.args
index
/home/vkottler/src/vkottler/workspace/vcorelib/vcorelib/args/__init__.py

A module for working with application-specific argument parsers.

 
Package Contents
       
newline

 
Functions
       
app_args(command_loader: Callable[[], Sequence[Tuple[str, str, Callable[[argparse.ArgumentParser], Callable[[argparse.Namespace], int]]]]], commands: Dict[str, Callable[[argparse.Namespace], int]] = None) -> Tuple[Callable[[argparse.ArgumentParser], NoneType], Callable[[argparse.Namespace], int]]
Create a function that can be used to add sub-command processing to an
argument parser.

 
Data
        CMDS = {}
CommandFunction = typing.Callable[[argparse.Namespace], int]
CommandLoader = typing.Callable[[], typing.Sequence[typing.Tuple...], typing.Callable[[argparse.Namespace], int]]]]]
CommandRegister = typing.Callable[[argparse.ArgumentParser], typing.Callable[[argparse.Namespace], int]]
__annotations__ = {'CMDS': typing.Dict[str, typing.Callable[[argparse.Namespace], int]]}