diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fa2b1c..033d353 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### v0.1.3 - 2023.7.22 + +- feat: add 'Commands::Extract' -- Extract compressed or archived files +- feat: add 'Commands::Image' -- Convert the specified image to the specified format and/or size +- docs: update README.md & CHANGELOG.md +- docs: sub-docs for each command + ### v0.1.2 - 2023.7.17 - refactor: remove 'Commands::Doctor', add 'Commands::Doc' diff --git a/Cargo.lock b/Cargo.lock index 5f121b1..1257a36 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1921,7 +1921,7 @@ dependencies = [ [[package]] name = "rstool" -version = "0.1.2" +version = "0.1.3" dependencies = [ "clap", "flate2", diff --git a/Cargo.toml b/Cargo.toml index 787e09f..8f67e44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rstool" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["lopo"] description = "a cli tools written in rust" diff --git a/README.md b/README.md index 929f0e6..de6fa9c 100644 --- a/README.md +++ b/README.md @@ -6,30 +6,35 @@ ![cli](https://img.shields.io/badge/wasm-in--progress-yellow) ![License](https://img.shields.io/github/license/lopo12123/rstool) -A collection of simple and commonly used tools, available on windows, will soon support node-addon and wasm +A collection of simple and commonly used tools, available +as [cli](https://en.wikipedia.org/wiki/Command-line_interface), will soon +support [node-addon](https://nodejs.org/api/addons.html) and [wasm](https://webassembly.org/). ### Installation Get [`rstool.exe`](https://github.com/lopo12123/rstool/releases/latest) from the release page. You can also clone this project directly if you want to build or modify it yourself. -I recommend that you add the path of `rstool.exe` to the environment variable after downloading. -so that it can be used directly in any directory. - ### Usage ``` -Usage: rstool.exe - -Commands: - doc Open the document in the browser (default or specified) - hash Get the digest of the specified source - serve Start a static resource server in the specified directory - help Print this message or the help of the given subcommand(s) - -Options: - -h, --help Print help - -V, --version Print version +$rstool.exe --help + +a cli tools written in rust + +Usage: rstool.exe + +Commands: + doc Open the document in the default browser + extract Extract compressed or archived files + hash Get the digest of the specified source + image Convert the specified image to the specified format and/or size (simple show the metadata of the image if both format and size are omitted) + serve Start a static resource server in the specified directory + help Print this message or the help of the given subcommand(s) + +Options: + -h, --help Print help + -V, --version Print version ``` ### Support Matrix @@ -39,6 +44,7 @@ Options: | `Doc` | ✅ | ⏳ | ⏳ | [Commands::doc](./src/doc/README.md) | | `Extract` | ✅ | ⏳ | ⏳ | [Commands::extract](./src/extract/README.md) | | `Hash` | ✅ | ⏳ | ⏳ | [Commands::hash](./src/hash/README.md) | +| `Image` | ✅ | ⏳ | ⏳ | [Commands::image](./src/image/README.md) | | `Serve` | ✅ | ⏳ | ⏳ | [Commands::serve](./src/serve/README.md) | | ... | ... | ... | ... || @@ -53,4 +59,4 @@ see at [CHANGELOG.md](./CHANGELOG.md) --- -Last modified on **2023-07-20** \ No newline at end of file +Last modified on **2023-07-22** \ No newline at end of file