Skip to main content

Semantic Versioning CLI

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semverkit-1.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

semverkit-1.1.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page