shortcut-command

1.0.9 • Public • Published

shortcut command

本工具用于对命令行进行缩写

安装

npm i shortcut-command -g

初始化

sc --init

配置文件

{
  "push": "git push",
  "pull": "git pull",
  "pick": "git cherry-pick",
  "build": "npm run build",
  "start": "npm run start"
}

执行

sc push (git push)
sc pull (git pull)
sc pick 5405d3bcec7651894a378ac661fb274529168cea (git cherry-pick 5405d3bcec7651894a378ac661fb274529168cea)

特殊处理

--string      字符串
+             前后连接无空格
[key]=[value] 参数替换
--confirm     指令是否确认

Readme

Keywords

Package Sidebar

Install

npm i shortcut-command

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

7.3 kB

Total Files

10

Last publish

Collaborators

  • youpinyao