foreach#
usage: scotty foreach [-h] command [command ...]
Execute a command in each repo
positional arguments:
command Command to run
options:
-h, --help show this help message and exit
foreach
command runs one or more shell commands in each used repository of
your current build configuration.
$ scotty foreach echo 'This is a path of a checked out repository: $PWD'
Note
When $
shell variables are used please quote all of your arguments with
'
to avoid shell expansion on your build host