Command
Table of Contents
Classes
- CacheClearCommand
- `cooper:cache:clear [--root=DIR] [--cache-dir=DIR]`: removes every
compiled configuration file. Part of a deploy.
- CheckCommand
- `cooper:check [--root=DIR] [--path=FILE]`: loads the configuration as
`Config::load()` would and reports it -- the document, its top-level
keys; exit status 1 and the error on failure.
- InitCommand
- `cooper:init [--root=DIR]`: writes `config/config.casc` and one
directory per environment (`config/dev/`, `config/test/`,
`config/prod/`), each holding one `.casc` so the document's
`import "${COOPER_ENV}/*.casc"` matches. Refuses to overwrite
anything: one existing file and nothing is written.