Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weisjohn/kamino
a node.js powered cli for cloning lots of repos from Git(Hub/Lab)
https://github.com/weisjohn/kamino
Last synced: about 1 month ago
JSON representation
a node.js powered cli for cloning lots of repos from Git(Hub/Lab)
- Host: GitHub
- URL: https://github.com/weisjohn/kamino
- Owner: weisjohn
- License: mit
- Created: 2013-11-02T02:35:27.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T05:12:49.000Z (over 9 years ago)
- Last Synced: 2024-11-10T15:12:21.318Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 223 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
kamino
======a node.js powered cli for cloning all your repos from Git(Hub/Lab)
This will clone all the repos that you have access to based on the results from the respective API. Projects are cloned into `[dir]/[namespace]/[project]`.
### usage
`npm install -g kamino`
##### github
Create [an access token](https://github.com/settings/tokens/new). Store that token (`~/.bash_profile`, `~/.extra`, etc.).
```
kamino --host api.github.com --token ddddc5e7e685ede0548b98d98fef99eb --dir ~/mysrc
```##### gitlab
Find your access token from (e.g. gitlab.mydomain.com/profile/account).
```
kamino --host gitlab.mydomain.com --token QVy1PB7sTxfy4pqfZM1U --dir ~/mysrc
```Optional flags are:
- `-s` for secure access (Gitlab only)
- `-v` for verbose logging while cloning### config
You can put your options in a config file `~/.kaminorc`
```bash
host=192.168.1.1
token=pJkyWhDPUXCtnvx6r9cZ
dir=/Users/me/mysrc
```