console command to fix yaml structure in files
composer console tarsy-club:yaml-cs-fix --\
-p resources
- create .env, see example or use these env vars at runtime
APP_ENV=local ... tarsy-club-yaml-cs-fix ...
- run
composer run box:compile
APP_DEBUG=0
is required for proper box compile
composer req tarsy-club/yaml-cs-fix
\TarsyClub\YamlCsFix\YamlCsFixBundle\YamlCsFixBundle::class => ['envs' => ['local' => true]],
in the app_get_parameterscomposer console tarsy-club:yaml-cs-fix ...
or as a composer vendored script
composer exec tarsy-club-yaml-cs-fix tarsy-club:yaml-cs-fix ...
or as shell command
vendor/tarsy-club/yaml-cs-fix/tarsy-club-yaml-cs-fix tarsy-club:yaml-cs-fix ...
git archive --remote=git@github.com:tarsy-club/yaml-cs-fix.git HEAD tarsy-club-yaml-cs-fix|tar -x > tarsy-club-yaml-cs-fix