The init subcommand
July 27, 2023 ยท View on GitHub
See the FAQ for common questions related to this and other Broker functionality.
broker init creates the Broker data root on the local system and writes an initial configuration file at that location.
When broker init is run, Broker checks for whether a config file already exists at the data root.
- If so, broker creates a new config example at
$DATA_ROOT/config.example.yml. - If not, broker creates a new config file at
$DATA_ROOT/config.yml, and example at$DATA_ROOT/config.example.yml.
For more information on the config, see the config reference.
After broker init finishes, it reports the data root and these actions to the user.