Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    list-repospublic

    List Repos (list-repos)

    Code Climate Issue Count Test Coverage

    This utility lists the current active branch on repos present in specified directory. By default it takes the current directory

    Read more at http://time2hack.com/2016/10/introducing-list-repos.html

    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:

    list-repos

    There are several other options for output like:

    • --git-only or -g

    Show only git repos

    list-repos -g

    • --attention or -a

    Show all directories which requires attention, includes non-git

    list-repos -a

    • --attention --git-only or -ag

    Show all git repos which requires attention

    list-repos -ag

    • --compact or -c

    Show compact table output

    list-repos -c

    • --compact=s or -c=s

    Show compact table output and short table headers and header description at the bottom

    list-repos -c=s

    • --compact=so or -c=so

    Show compact table output and short table headers and no header description at the bottom

    list-repos -c=so

    • --simple or -s

    Show simple comma and new line separated output;

    order of values is dir, branch, ahead, dirty, untracked, stashes

    list-repos -s

    • --help or -h

    Show help

    • --version or -v

    Show version of the utility

    Keywords

    install

    npm i list-repos

    Downloadsweekly downloads

    6

    version

    0.5.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar