sawtooth.simulator_cli module¶
-
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