@yunyoujun/cli
v0.0.12-beta.7
Published
[![NPM version](https://img.shields.io/npm/v/@yunyoujun/cli?color=a1b858&label=@yunyoujun/cli)](https://www.npmjs.com/package/@yunyoujun/cli)
Downloads
432
Readme
@yunyoujun/cli
Install
# npm i -g @yunyoujun/cli
# yarn global add @yunyoujun/cli
pnpm add -g @yunyoujun/cli
Usage
y -h
y [args]
命令:
y config Customize CLI config
y gcl <repo> git clone https://github.com/<github.user>/<repo> or git@githu
b.com/<github.user>/<repo>.git
选项:
-h, --help 显示帮助信息 [布尔]
-v, --version 显示版本号 [布尔]
For example:
# Want to clone your repo?
# set your global github.user
y config set github.user yunyoujun
# clone repo
y gcl repo-name
# default type is https
# y gcl repo-name --type=https
# y gcl repo-name --type=ssh
# set clone type
y config set github.type ssh
Other helpers will be added later.
Config
See cli/types.
TODO
- [ ] An interactive CLI for guiding users to configure
- [ ] config list
- [ ] sync config
- cli-starter
- [ ] Install Path Alias (write
~/.zshrc
or display), egyja
/yjr