kyoz / all-repos-cli

Useful CLI to get, find and access github repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Useful CLI to get, find and access github repositories

License:MIT License


Languages

Language:JavaScript 100.0%