@digital-rd/iboss-tool
v1.1.5
Published
This tool is for getting iboss changed files.
Readme
iboss-tool
This tool is for getting iboss changed files.
Prerequisites
- Ensure Node.js is installed (v16 or higher recommended)
- Ensure Yarn package manager is installed
Install
set global config and then install
# use npm
npm install @digital-rd/iboss-tool
# use yarn
yarn add @digital-rd/iboss-tool
or just install from custom registry
# use npm
npm install -g @digital-rd/iboss-tool
# use yarn
yarn global add @digital-rd/iboss-tool
Usage
get files between two commits
iboss-tool get <from-commit-id> [to-commit-id] -d /path/to/iboss/ -t /path/to/output/
examples
iboss-tool get HEAD~3 HEAD -d /home/frank/chinaunicom/cop-web-from-pro -t /mnt/d/Desktop/iboss
Command line options
| shorthand | long form | description | | --------- | ----------- | ------------------------------------------- | | -d | --directory | The directory of iboss project. | | -t | --target | The target directory to save files. | | | --deleted | Files that are deleted between two commits. | | | --exclude | Files are to be ignored, glob is supported. | | -h | --help | show help |
