mg-grep COMMAND
Runs COMMAND in each repository and reports the path to the repository if COMMAND returned data on STDOUT.
By default, the paths are output as absolute paths so it doesn't matter where in the project you are. With --no-absolute, paths are output relative to the mg root.
If you're getting info you didn't expect, use debug mode to mimic `mg each`, i.e. to just report the results without filtering. Note that this is subject to the -q and -v options to mg itself.
Instead of STDOUT, use the exit code of the process to determine success. Repositories with a zero exit code are reported.
Invert the logic so it reports the opposite set of repositories.
To install App::Multigit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Multigit
CPAN shell
perl -MCPAN -e shell install App::Multigit
For more information on module installation, please visit the detailed CPAN module installation guide.