github-repo-manager

0.1.1 • Public • Published

repo-manager

Currently, it's an opinionated wrapper around git clone, that keeps all your repos in structure. I wrote it to setup ready to go environment with all I need by one command.

To use it, make sure you have proper ssh-key, and set GITHUB_TOKEN and GITHUB_USERNAME in your env-variables.

Examples

repo-manager clone myorg/myrepo # checkouts a repo into ~/Dev/@myorg/repo
repo-manager clone "myorg/*" # checkouts all @myorg repos into ~/Dev/@myorg/*
repo-manager clone "**" # checkouts all your repos into ~/Dev/@org/repo, you can omit query clone all
repo-manager "**" --dry # dry run

Installation

npm istall -g github-repo-manager
yarn global add github-repo-manager

Contribution

May be in future I add plenty of features, but can't promise I will. If you want to add a feature, just put it into the ./src/features/ directory.

ToDo:

If you just wanna do something, consider the check-list below:

  • [ ] repo-manager delete "org/prefix-*" delete both local and github repos
  • [ ] repo-manager fetch "org/*"
  • [ ] repo-manager info "org/repo" get some stats like contributros, git-extras, etc
  • [ ] add tests

Readme

Keywords

none

Package Sidebar

Install

npm i github-repo-manager

Weekly Downloads

1

Version

0.1.1

License

WTFPL

Unpacked Size

14.2 kB

Total Files

19

Last publish

Collaborators

  • shuvalov-anton