Skip to content

elmernocon/semverkit

Repository files navigation

semverkit

PyPI - Python Version PyPI - Version Static Badge GitHub License Docker Image Size (tag)

A thin CLI wrapper for the Python package semver.

Installation and Usage

PyPI

$ pip install semverkit
$ python -m semverkit

or

$ semverkit

Docker

$ docker run --rm elmernocon/semverkit

Curl

$ curl -Ls https://github.com/elmernocon/semverkit/releases/latest/download/semverkite -o semverkit && chmod +x semverkit
$ semverkit

Usage: semverkit [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  bump          Bumps a PART of VERSION.
  compare       Compares VERSION against OTHER.
  extract       Extracts a PART of VERSION.
  finalize      Removes any prerelease and build metadata from VERSION.
  iscompatible  Exits with 1 if VERSION is not compatible with OTHER.
  ismatch       Exits with 1 if VERSION does not match EXPRESSION.
  isvalid       Exits with 1 if VERSION is invalid.
  replace       Replaces one or more parts of VERSION.
  split         Splits parts of VERSION.