cli

Command-line parsing and settings composition for the webapp server.

Functions

create_argument_parser()

Create CLI argument parser for this server.

parse_arguments([argv])

Parse CLI arguments.

build_settings_from_args(args)

Build effective settings from INI config and CLI overrides.

main(argv, *, parse_args, build_settings, run[, printer])

CLI entrypoint wrapper for running the server with dependency injection.

Module Contents

cli.create_argument_parser()

Create CLI argument parser for this server.

cli.parse_arguments(argv=None)

Parse CLI arguments.

cli.build_settings_from_args(args)

Build effective settings from INI config and CLI overrides.

cli.main(argv, *, parse_args, build_settings, run, printer=print)

CLI entrypoint wrapper for running the server with dependency injection.