quickie.factories.arg
- quickie.factories.arg(*name_or_flags: str, completer: Callable | None = None, **kwargs: Unpack[_OptionKwargs])
Used to add arguments to the arguments parser of a task.
Arguments are the same as the add_argument method of argparse.ArgumentParser, except for the completer argument which is a function that provides completion for the argument.
- Parameters:
name_or_flags – The name or flags for the argument.
completer – A function to provide completion for the argument.
kwargs – The keyword arguments for the argument. See add_argument method of ArgumentParser for more information.