sawtooth.simulator_cli module

sawtooth.simulator_cli.create_console_handler()[source]
sawtooth.simulator_cli.create_file_handler(config)[source]
sawtooth.simulator_cli.set_up_loggers(config)[source]
sawtooth.simulator_cli.parse_args(args)[source]
sawtooth.simulator_cli.load_configuration(opts)[source]

Loads the configuration file, if it exists. Otherwise, creates a default configuration and saves it. It then applies any command-line argument overrides that exist.

Parameters:opts – Command-line options
Returns:A dictionary of key/value pairs that represent the base configuration
sawtooth.simulator_cli.main(name='sphinx-build', args=['-b', 'html', '-W', '-d', 'build/doctrees', 'source', 'build/html'])[source]