1.3.8 • Published 5 years ago

zxtool v1.3.8

Weekly downloads
15
License
MIT
Repository
github
Last release
5 years ago

npm version npm download per month

简介

使用 node.js 构建的命令行工具。主要是方便个人平时使用。

安装

npm install -g zxtool

命令

  • zxtool -V 查看工具的版本信息
  • zxtool -h 查看工具的帮助文档。会列出所有的功能。

zxtool tree

列出指定目录的目录树。

# 示例:列出 src 的目录树,排除以 index 为前缀的文件。
$ zxtool tree src -e ^index

效果如下:

├─file
│  └─file-tree.js
├─string
└─util
   └─type.js

zxtool git

简单的 git 命令封装,用于同步本地仓库和远程仓库。

# 同步本地仓库和远程仓库
zxtool git -s "提交信息"

执行效果:

√ Adding changes to the index
√ Checking the working tree status
√ Record changes to the repository
√ Pulling from remote master
√ Pushing to remote master

=========================================
= modified:   package.json              =
= modified:   packages/commands/note.js =
=========================================

Complete!

License

MIT

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago