diplomat.utils.cli_tools.positional_argument_count¶
- diplomat.utils.cli_tools.positional_argument_count(amt: int) Callable[[Callable], Callable][source]¶
Decorator: Mark the first n arguments to this typecaster function as positional. Those arguments will have no flag, and instead must be passed by position to the CLI.
- Parameters:
amt – The number of first arguments to the function to mark as positional.