cli module

CLI module.

class confirm.gitlab_guard.cli.CLI

CLI class which helps to initialise, and parse the CLI arguments, then run the desired action.

init_cli()

Initialise the CLI parser, and parse the arguments.

init_logging()

Initialise the logging.

run()

Parse the CLI arguments & environment variables, then initialise the Guard, and call Guard.run().

confirm.gitlab_guard.cli.main()

Main function which is called when this script is executed on the CLI, or the entrypoint script is run.