CLI

The CLI module for the Blueprint Cloner.

class blueprint_cloner.cli.CLI

Blueprint cloner CLI helper class, which can be used to initialise the CLI argument parser and pass the arguments to the cloner class.

classmethod init_logging(debug)

Initialise the logging config.

Parameters

debug (bool) – The debug flag

init_parser()

Initialise the argument parser.

The description of the argument parser is automatically read from the cloner class doc string. All arguments are also automatically initialised, based on the constructor arguments and the doc string of the constructor.

run()

Parse the CLI arguments and run the blueprint cloner.