Forest-grown documentation
Model
The runtime model in one page.
Inputs
clily merges named args in this order:
- CLI args
- environment variables
- config files
- schema defaults
For release deploy and server.port, the env key is:
RELEASE_DEPLOY_SERVER__PORT=4000Execution
Each run follows the same path:
- build the command tree
- resolve the active subtree
- parse and merge input
- prompt when interactive
- validate with the source schema
- run plugins,
setup,run,cleanup
cleanup still runs when setup or run throws.
Comfort Rule
Use schema defaults for command truth. Use env and config for machine truth.