command
module
Version:
v0.0.0-...-aa21d41
Opens a new window with list of versions in this module.
Published: Jun 22, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
multi-git
A little Go command-line program that manages a list of git repos and runs git commands on all repos.
This program supports the article: Let's Go: Command-line Programs with Golang.
Command-line Arguments
It accepts two command-line arguments:
- --command : the git command (wrap in double quotes for multi-arguments
commands)
- --ignore-errors: keeps going through the list of repos even the git command
failed on some of them
Environment variables
The list of repos is controlled by two the environment variables:
- MG_ROOT : the path to a root directory that contains all the repos
- MG_REPOS : the names of all managed repos under MG_ROOT
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
pkg
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.