Pure rust implementation of teaxyz/cli:semver.ts for command-line usage.
cargo install semverator
or, for tea users, tea +crates.io/semverator true
.
Well, thanks to clap, the help system flows nicely from the implementation:
```sh A command line tool for working with semantic versioning (tea.xyz implementation)
Usage: semverator
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 ```