tarsy-club/yaml-cs-fix

tarsy-club yaml-cs-fix

1.0.0 2021-07-11 23:02 UTC

This package is auto-updated.

Last update: 2024-04-12 05:00:23 UTC


README

console command to fix yaml structure in files

example

composer console tarsy-club:yaml-cs-fix --\
  -p resources

build phar

compile

  • 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

Usage

Using as a composer package

  1. composer req tarsy-club/yaml-cs-fix
  2. \TarsyClub\YamlCsFix\YamlCsFixBundle\YamlCsFixBundle::class => ['envs' => ['local' => true]], in the app_get_parameters
  3. composer 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 ...

alternative dowload
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