Skip to content

Instantly share code, notes, and snippets.

@wowo
Created December 9, 2011 13:31
Show Gist options
  • Save wowo/1451529 to your computer and use it in GitHub Desktop.
Save wowo/1451529 to your computer and use it in GitHub Desktop.
Bulk Symfony2 bundles generation.sh
FirstBundle
SecondBundle
AnotherBundle
# if you have a lot of bundles to generate (comes for example from Components Diagram)
# you can put them into a file and run below script
cat bundles.txt | xargs -IXXX ./app/console generate:bundle --namespace=Acme/XXXBundle --bundle-name=AcmeXXXBundle --dir=src --structure=true --no-interaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment