list-repos
v1.0.0
Published
List all the repos, their HEADs and clean status in the Current Directory or the Supplied Directory
Downloads
36
Readme
List Repos (list-repos)
This utility lists the current active branch on repos present in specified directory. By default it takes the current directory
Read more at time2hack.com/introducing-list-repos
To install the utility, simply do
npm install -g list-repos
And in few seconds(or minutes), it should be installed. If it gives error of Access rights, try with sudo
and after you enter the password for sudo
, it should install normally.
To use the utility, type following on CLI,
# Check for the current active branch on repos present in parent directory
list-repos ../
And will comeup with this output:
There are several other options for output like:
--git-only
or-g
Show only git repos
--attention
or-a
Show all directories which requires attention, includes non-git
--attention --git-only
or-ag
Show all git repos which requires attention
--compact
or-c
Show compact table output
--compact=s
or-c=s
Show compact table output and short table headers and header description at the bottom
--compact=so
or-c=so
Show compact table output and short table headers and no header description at the bottom
--simple
or-s
Show simple comma and new line separated output;
order of values is dir
, branch
, ahead
, dirty
, untracked
, stashes
--help
or-h
Show help
--version
or-v
Show version of the utility