@mewcoder/clias

0.0.1-alpha.1 • Public • Published

CLI AS

命令行别名工具

配置信息存储在config.json中:

{
  "init": "git init & git branch -M main & git config user.name \"mewcoder\" & git config user.email \"1010953107.com\"",
  "npmrc": "echo registry=https://registry.npmmirror.com > .npmrc",
  "clean": "rimraf",
  "kill": "kill-port",
  "commit:reset": "git checkout --orphan aaa & git add . & git commit -m \"chore: init\" & git branch -D main & git branch -m main & git push -u origin main -f",
  "git:remote": "git remote rm origin & git remote add origin https://github.com/mewcoder/$1.git",
  "push": "git branch -M main & git push -u origin main",
  "update": "git add . & git commit -m \"feat: update\" & git push origin",
  "hello": "echo \"hello clias!\""
}

执行as npmrc即可执行对应命令

Readme

Keywords

Package Sidebar

Install

npm i @mewcoder/clias

Weekly Downloads

0

Version

0.0.1-alpha.1

License

MIT

Unpacked Size

2.91 kB

Total Files

4

Last publish

Collaborators

  • mewcoder