#semver #semantic #versioning #teaxyz

app semverator

A command line tool for working with semantic versioning (tea.xyz implementation)

11 unstable releases (3 breaking)

0.4.3 Sep 10, 2023
0.4.2 Sep 8, 2023
0.3.1 Apr 8, 2023
0.3.0 Mar 24, 2023
0.1.2 Jan 29, 2023

#450 in Command line utilities

Download history 15/week @ 2023-10-31 1/week @ 2023-11-14 20/week @ 2023-11-21 47/week @ 2023-11-28 11/week @ 2023-12-05 11/week @ 2023-12-12 22/week @ 2023-12-26 11/week @ 2024-01-02 1/week @ 2024-01-16 23/week @ 2024-01-30 2/week @ 2024-02-06 81/week @ 2024-02-13

106 downloads per month

Apache-2.0

35KB
891 lines

GitHub release (latest by date) Test with Code Coverage Check and Lint Coverage Status

semverator

Pure rust implementation of teaxyz/lib:semver.ts for command-line usage.

Install

cargo install semverator or, for tea users, tea +crates.io/semverator true.

Usage

Well, thanks to clap, the help system flows nicely from the implementation:

A command line tool for working with semantic versioning (tea.xyz 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

Dependencies

~3–4MB
~71K SLoC