Skip to content

csr_proxy.cli

Command line parsing and service starting.

Cli

Bases: object

Command-line proceessing.

handle_version()

Process --version flag.

Returns:

Type Description
ExitCode

Exit code.

run(args)

Run csr-proxy from arguments.

Parameters:

Name Type Description Default
args List[str]

List of command-line arguments.

required

Returns:

Type Description
ExitCode

Exit code

ExitCode

Bases: IntEnum

Cli exit codes.

Attributes:

Name Type Description
OK

Successful exit

main()

Run csr-proxy with command-line arguments.