# oschina-cli
git oschina cli
[![npm version](https://badge.fury.io/js/oschina-cli.svg)](https://badge.fury.io/js/oschina-cli)

# Install
- from source
```shell
git clone git@github.com:lotosbin/oschina-cli.git
cd oschina-cli
npm install && npm link
```
- from npm
```
npm install -g oschina-cli
```
- from yarn
```
yarn global add oschina-cli
```

# Usage
`osc -h`

config default owner

```
osc config set --username xxxx
osc config get --username
```

clone repository
```
osc clone xxxxxxx
osc clone xxxxxxx --owner xxxx
osc clone xxowner/xxrespository
```

open repository home page
```
osc home
osc home --remote origin
osc home --choice
```