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 license

Get or set the license of the project

Usage

sysand info license [OPTIONS]

Description

Prints the license of the given project. With --set or --clear, modifies the license. licence is an accepted alias for this subcommand.

By default the license must be a valid SPDX license expression. Pass --no-spdx alongside --set to allow an arbitrary string. See Project metadata for guidance on license format.

Options

  • --set <LICENSE>: Set the license in the form of an SPDX license identifier
  • --no-spdx: Don’t require license to be an SPDX expression
  • --clear: Remove the project’s license

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