confit.cli
Cli [source]
Bases: Typer
Custom Typer object that:
- validates a command parameters before executing it
- accepts a configuration file describing the parameters
- automatically instantiates parameters given a dictionary when type hinted
parse_overrides [source]
Parse the overrides from the command line into a dictionary of key-value pairs.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
args | The arguments to parse TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Dict[str, Any] | The parsed overrides as a dictionary |