grinder
grinder copied to clipboard
bot_config.json and development
trafficstars
Now everyone has to create it manually, maybe there is a way to do it better.
Alright, we have a couple of options here I'm aware of.
- Provide an example configuration file (
bot_config.example.json) and instruct users to copy it tobot_config.jsonthemselves. - Provide an example configuration right in the
bot_config.jsonfile, but provide a customization (either build-time or run-time) so the users are able to override the defaults stated there. - Add a command-line configuration (to either directly read the bot config parameters from the command line arguments, or to provide a configuration file path through a command line), and let the users to manage the configs themselves.
All of these allows you to safely .gitignore your own config and do not block the build while other configs aren't present.
Is this issue actual? After #18 we change configuration flow, and README.md will contain examples
I'll check after #18 gets merged.