How-to guides¶
Each page solves one problem and assumes you already have a crate depending on
rtb-app. If you are starting from nothing, do
Write your first command first.
| I want to… | Page |
|---|---|
| Add a subcommand and have the framework find it | Register a command |
| Make my tool report its own version, not the framework's | Report your tool's own version |
| Read my tool's typed configuration inside a command | Read your tool's typed configuration |
Build an App in a unit or integration test |
Build an App in a test |
| Compile a regex that a user supplied | Compile a pattern that came from a user |
| Run something before every command | Run a check before every command |
Make credentials list show my tool's credentials |
List your tool's credentials |
| Let my tool update itself from its releases | Point your tool at its releases |