I'm trying to figure out how to write a script that will essentially execute one after the other (provided the previous command has finished).
php bin/console SOME:CUSTOM:COMMAND <PART_1_ARGUMENT> <PART_2_ARGUMENT> --env=xxx
- The following is fixed and I need to pass in say a list of variables in-between
- php bin/console COMMAND --env=xxx
e.g. lets say I have the following as my arguments
- Apple pie
- Apple crumble
- Pear apple
then my command would work in order executing one after the other like
php bin/console COMMAND Apple pie --env=xxx
and then right after
php bin/console COMMAND Apple crumble --env=xxx
and so forth ?
Any info is helpful I've googled for hours .. (newbie)