Crates.io | semverator |
lib.rs | semverator |
version | 0.6.0 |
source | src |
created_at | 2023-01-29 00:34:59.059252 |
updated_at | 2024-09-06 20:12:59.752764 |
description | A command line tool for working with semantic versioning (libpkgx implementation) |
homepage | https://github.com/jhheider/semverator |
repository | https://github.com/jhheider/semverator |
max_upload_size | |
id | 770664 |
size | 18,940 |
Pure rust implementation of libpkgx:utils/semver.ts for command-line usage.
cargo install semverator
or, for pkgx users,
pkgx +crates.io/semverator
.
Well, thanks to clap, the help system flows nicely from the implementation:
A command line tool for working with semantic versioning (libpkgx implementation)
Usage: semverator <COMMAND>
Commands:
validate validates a version
eq checks if two versions are equal
neq checks if two versions are not equal
gt checks if left > right
lt checks if left < right
validate-range validates a range
satisfies validates a range satisfies a semver
max maximum version that satisifies a range
intersect intersection between two ranges
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version