php-cooper-config

InitCommand.php

Table of Contents

Classes

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.
On this page

Search results