@yunyoujun/cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.12-beta.7 • Public • Published

@yunyoujun/cli

NPM version

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), eg yja/yjr

Sponsors

Readme

Keywords

Package Sidebar

Install

npm i @yunyoujun/cli

Weekly Downloads

0

Version

0.0.12-beta.7

License

MIT

Unpacked Size

16.1 kB

Total Files

6

Last publish

Collaborators

  • yunyoujun