Skip to content

rspm list license-types#

Command to list package license types

Synopsis#

Command to list package license types for package blocking.

License types are either a license identifier in the SPDX License List (non-deprecated), or "Unknown" for a license not found in the SPDX License List.

For a detailed list of SPDX license identifiers, see https://spdx.org/licenses/.

rspm list license-types [flags]

Examples#

  # List all possible license types
  rspm list license-types

  # List only current license types used by packages
  rspm list license-types --current

Options#

      --current   List only current license types used by packages
  -h, --help      help for license-types

Options inherited from parent commands#

  -c, --config string          Path to config file
  -o, --output-format string   Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                Provide additional output