The included examples were full of clap boilerplate, so I refactored it all into a separate module. That way the examples can focus on being examples of how to run a bot, while also making it easier to maintain the app functionality and retain consistency across the examples.
I also added a brief section in the README on how to run those examples, as that's easier and faster than having people look through 150 lines of clap setup to see how to run the things. There is still the matter that the clap_app! macro has been deprecated. But now, if anyone wants to fix that, they only have to fix it in a single place.
The included examples were full of
clap
boilerplate, so I refactored it all into a separate module. That way the examples can focus on being examples of how to run a bot, while also making it easier to maintain the app functionality and retain consistency across the examples.I also added a brief section in the README on how to run those examples, as that's easier and faster than having people look through 150 lines of clap setup to see how to run the things. There is still the matter that the
clap_app!
macro has been deprecated. But now, if anyone wants to fix that, they only have to fix it in a single place.