0.2.3 • Published 2 years ago

tar-compress-cli v0.2.3

Weekly downloads
4
License
MIT
Repository
github
Last release
2 years ago

tar-compress-cli

NPM version node Code Style GitHub Workflow Status (branch) release codecov NPM downloads

Use tar to pack and unpack file

:cd: Installation

npm install --save-dev tar-compress-cli

:rocket: Usage

tar-compress-cli <pack|unpack> [options]

:gear: Pack command options

-s, --source         Set source file list                        [array] [required]
-t, --target         Set target file                             [string] [default: "output.tgz"]
-v, --version        Show version number
-h, --help           Show help

:bulb: Example

tar-compress-cli pack -s source_1 source_2 -t target.tgz

:gear: Unpack command options

-s, --source         Set source file                             [string] [required]
-e, --extractFile    Set extract file list in the source file    [array] [default: []]
-t, --target         Set target file                             [string]
-v, --version        Show version number
-h, --help           Show help

:bulb: Example

tar-compress-cli unpack -s source.tgz -e extract_1 extract_2  -t target

:lock: License

MIT.

0.2.1

2 years ago

0.2.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago