-
Notifications
You must be signed in to change notification settings - Fork 215
config
Aviv Eyal edited this page Sep 19, 2019
·
5 revisions
Note: this section needs an update to reflect switch to viper for config file management
- We are using toml files, here and here for config file syntax.
- Use of a config file is optional.
- Node uses default config values, unless provided with a .toml config file via command line arg or has custom command line config values.
- We might provide an example toml config file.
- App shell supports flags and commands. Flags override default config values. Commands execute any code module that might modify config values.
- Params are non-configurable hard-coded consts. Ideally all params should become configurable configs.
- Commands are specified as app args
- It is important to separate flags, params and commands
- Each major new module should implement its own flags, params, and cli commands - see node for a ref impl.
Connect => discord || spacemesh.io || @teamspacemesh || Roadmap || FAQ