https://github.com/guanruihua/xyy
Common cmd Commands/Scripts
https://github.com/guanruihua/xyy
cmd git nodejs script
Last synced: 2 months ago
JSON representation
Common cmd Commands/Scripts
- Host: GitHub
- URL: https://github.com/guanruihua/xyy
- Owner: guanruihua
- Created: 2023-05-07T08:24:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-21T09:51:45.000Z (11 months ago)
- Last Synced: 2025-10-01T04:55:01.734Z (9 months ago)
- Topics: cmd, git, nodejs, script
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xyy
> 封装日常使用到的cmd指令
## 安装
```shell
npm install -D @ruihuag/xyy
```
## 使用
```js
const { GitCommand } = require('@ruihuag/xyy')
GitCommand('0.0.1')
```
## GitCommand
> 基础git命令
> 复杂的命令请使用原生git命令
```js
const { GitCommand } = require('@ruihuag/xyy')
// 0.0.1 当前项目版本, 主要给branch 和 tag 设置默认值
GitCommand('0.0.1')
```