labthings_fastapi.server.cli
Module Contents
Functions
Return the default CLI parser for LabThings |
|
Process command line arguments for the server |
|
Process arguments and return a config dictionary |
|
Start the server from the command line |
API
- labthings_fastapi.server.cli.get_default_parser()
Return the default CLI parser for LabThings
This can be used instead of
parse_argsif more arguments are needed
- labthings_fastapi.server.cli.parse_args(argv: Optional[list[str]] = None) argparse.Namespace
Process command line arguments for the server
- labthings_fastapi.server.cli.config_from_args(args: argparse.Namespace) dict
Process arguments and return a config dictionary