Usage
Create a New Mani Repository
Run the following command inside a directory containing your git repositories:
$ mani init
This will generate two files:
mani.yaml: Contains projects and custom tasks. Any subdirectory that has a.gitdirectory will be included (add the flag--auto-discovery=falseto turn off this feature).gitignore: Includes the projects specified inmani.yamlfile. To opt out, usemani init --vcs=none.
It can be helpful to initialize the mani repository as a git repository so that anyone can easily download the mani repository and run mani sync to clone all repositories and get the same project setup as you.
Run Some Commands
# List all projects
$ mani list projects
# Count number of files in each project in parallel
$ mani exec --all --output table --parallel 'find . -type f | wc -l'
Next up: