Introduction | mani

1 min read Original article ↗

mani is a CLI tool that helps you manage multiple repositories. It's useful when you are working with microservices, multi-project systems, multiple libraries, or just a collection of repositories and want a central place for pulling all repositories and running commands across them.

# Target repositories that have the tag 'node'

$ mani run git-status --tags node

┌──────────┬─────────────────────────────────────────────────┐

│ Project │ git-status │

├──────────┼─────────────────────────────────────────────────┤

│ pinto │ On branch master │

│ │ Your branch is up to date with 'origin/master'. │

│ │ │

│ │ nothing to commit, working tree clean │

└──────────┴─────────────────────────────────────────────────┘

# Target project 'pinto'

$ mani run git-create --projects pinto branch=dev

[pinto] TASK [git-create: create branch] *******************

Switched to a new branch 'dev'