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#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -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