Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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
```