The list
command
Similarly to cargo-license, list
prints out the license information for each crate.
Options
-c, --config <CONFIG>
Path to the config to use
Defaults to <cwd>/deny.toml
if not specified
-f, --format
The format of the output
human
(default) - Simple format where each crate or license is its own linejson
tsv
--color
Colors:
- SPDX identifier -
- Crate with 1 license -
- Crate with 2 or more licenses -
- Crate with 0 licenses -
-l, --layout
The layout of the output. Does not apply to the tsv
format.
license
(default) - Each license acts as the key, and the values are all of the crates that use that licensecrate
- Each crate is a key, and the values are the list of licenses it uses.
-t, --threshold
The confidence threshold required for assigning a license identifier to a license text file. See the license configuration for more information.
layout = license, format = human
(default)
layout = crate, format = human
layout = license, format = json
layout = license, format = tsv