Skip to content

tarsy-club/yaml-cs-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tarsy-club yaml-cs-fix

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