all-repos-cli

1.1.1 • Public • Published

all-repos-cli

Useful CLI to get github repositories

Build Status NPM version XO code style

Introduce

  • Since Github API do have rate limit, i do use another approach is to get infomation in webpage.
  • But it's not good if we send too much request, so i do store data in local json files to read more faster and we don't have to request to github too much. Just when we need lastest data, we do update (It's like git pull...).

Install

$ npm install -g all-repos-cli

Usage

$ repos --help
 
  Usage
    $ repos
    $ repos <github-username>
  Options
    --update, --u           Update repositories data to latest
    --updateUser, --uu      Update default user (Since 'npm whoami' is quite slow)
    --clearCache, --cc      Clear local cache
  Examples
    $ repos                 Get local repositories of current user
    $ repos banminkyoz      Get local repositories of 'banminkyoz'
    $ repos --u             Update repositories of current user to latest
    $ repos --u banminkyoz  Update repositories of 'banminkyoz' to latest
    $ repos --uu            Update npm current logged user
    $ repos --cc            Clear all local cache

Related

License

MIT © Kyoz

/all-repos-cli/

    Package Sidebar

    Install

    npm i all-repos-cli

    Weekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    9.39 kB

    Total Files

    4

    Last publish

    Collaborators

    • banminkyoz