1.0.3 • Published 6 years ago

oschina-cli v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

oschina-cli

git oschina cli npm version

Install

  • from source
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