Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sysand info version

Get or set the version of the project

Usage

sysand info version [OPTIONS]

Description

Prints the version of the given project. For index projects, prints all available versions of the project. With --set, updates the version.

By default the version must conform to Semantic Versioning 2.0. Pass --no-semver alongside --set to allow an arbitrary version string.

The version field is required and cannot be cleared.

Options

  • --set <VERSION>: Set the version in SemVer 2.0 format
  • --no-semver: Don’t require version to conform to Semantic Versioning

Global options

  • -v, --verbose: Use verbose output
  • -q, --quiet: Do not output log messages
  • --no-config: Disable discovery of configuration files
  • --config-file <CONFIG_FILE>: Give path to ‘sysand.toml’ to use for configuration
  • -h, --help: Print help