Repository navigation
feat: implement pnpm licenses command in pacquet - #13090
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Confidence Score: 4/5The command is functionally wired up correctly and previous blocking issues have been resolved, but the table output format diverges from the TypeScript CLI in two user-visible ways — no Version column and no per-license grouping — which the project's parity requirement treats as a required fix before landing. The core lockfile-walk, deduplication, JSON serialization, and recursive workspace paths all look correct. What's missing is table-format parity with the TypeScript CLI: the collected versions Vec is never rendered in the table, and rows are sorted by name rather than grouped by license. The AGENTS.md cardinal rule requires the two implementations to be observably identical, so these divergences need to be addressed before the PR lands. pnpm/crates/cli/src/cli_args/licenses.rs — the table rendering block (lines 299–332) needs a Version column and per-license grouping to match the TypeScript CLI output. Reviews (9): Last reviewed commit: "fix: remove pnpm from rust-only changese..." | Re-trigger Greptile |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe Rust ChangesLicenses command
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant CliCommand
participant dispatch_query
participant LicensesArgs
participant WantedLockfile
participant PackageJson
participant Output
User->>CliCommand: invoke licenses
CliCommand->>dispatch_query: route command arguments
dispatch_query->>LicensesArgs: run(config, dir, recursive)
LicensesArgs->>WantedLockfile: load and traverse dependencies
LicensesArgs->>PackageJson: read package metadata
PackageJson-->>LicensesArgs: return license information
LicensesArgs->>Output: print JSON or table
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)
pnpm/crates/cli/src/cli_args/licenses.rs (2)
65-70: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low valueVerify the priority ordering of
BelongsTovariants.Because
PartialOrdandOrdare derived automatically, the variants are ordered sequentially by their declaration:Prod < Optional < Dev. This means that if a package is reachable via both anOptionaland aDevdependency path,Optionalwill overrideDev(sinceOptional <= Devevaluates to true).In
pnpm's dependency hierarchy logic,devdependencies typically take precedence overoptionalones. Consider swapping the order ofOptionalandDevtoProd, Dev, OptionalifDevshould win.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@pnpm/crates/cli/src/cli_args/licenses.rs` around lines 65 - 70, Update the BelongsTo variant declaration order to match the dependency precedence required by the hierarchy logic, placing Dev before Optional if dev dependencies must override optional dependencies. Preserve the existing derives and all other enum behavior.
141-154: 🚀 Performance & Scalability | 🔵 Trivial | ⚡ Quick winRemove the redundant
seenset.The
seenHashSet is logically redundant and performs unnecessary allocations/hashing inside a hot loop traversing the lockfile.If a
(key, kind)pair was already processed,belongs_towould already containkeywith anexistingkind that is<= kind. The loop naturally skips redundant work by evaluatingcontinue;at line 147 before ever reaching theseen.insertcheck.♻️ Proposed refactor
- let mut seen = HashSet::new(); while let Some((key, kind)) = stack.pop() { if let Some(existing) = belongs_to.get(&key) && *existing <= kind { continue; } belongs_to.insert(key.clone(), kind); - if !seen.insert((key.clone(), kind)) { - continue; - } - if let Some(snapshot) = snapshots.get(&key) {🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@pnpm/crates/cli/src/cli_args/licenses.rs` around lines 141 - 154, Remove the redundant seen HashSet and its seen.insert check from the traversal loop around belongs_to and stack.pop. Preserve the existing belongs_to lookup and early continue, which already prevents reprocessing keys with an equal or stronger kind.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pnpm/crates/cli/src/cli_args/licenses.rs`:
- Around line 194-196: Harden the path construction around
key.to_virtual_store_name and safe_read_package_json_from_dir: validate both
store_name and name against absolute paths and traversal components before
joining, or enforce that the resolved pkg_dir remains a strict descendant of
virtual_store_dir. Reject unsafe lockfile entries and skip their manifest reads
while preserving normal package paths.
---
Nitpick comments:
In `@pnpm/crates/cli/src/cli_args/licenses.rs`:
- Around line 65-70: Update the BelongsTo variant declaration order to match the
dependency precedence required by the hierarchy logic, placing Dev before
Optional if dev dependencies must override optional dependencies. Preserve the
existing derives and all other enum behavior.
- Around line 141-154: Remove the redundant seen HashSet and its seen.insert
check from the traversal loop around belongs_to and stack.pop. Preserve the
existing belongs_to lookup and early continue, which already prevents
reprocessing keys with an equal or stronger kind.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 3db9350f-bca0-4e9d-8c77-4489d98f3e42
📒 Files selected for processing (7)
.changeset/pacquet-licenses.mdpnpm/crates/cli/src/cli_args.rspnpm/crates/cli/src/cli_args/cli_command.rspnpm/crates/cli/src/cli_args/dispatch.rspnpm/crates/cli/src/cli_args/dispatch_query.rspnpm/crates/cli/src/cli_args/licenses.rspnpm/crates/cli/src/cli_args/switch_cli_version.rs
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #13090 +/- ##
==========================================
- Coverage 85.66% 85.28% -0.38%
==========================================
Files 500 503 +3
Lines 80222 81035 +813
==========================================
+ Hits 68721 69113 +392
- Misses 11501 11922 +421 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Integrated-Benchmark Report (Linux)Commit: Each scenario reports direct installs and pnpr installs. Bencher consumes pacquet@HEAD and pnpr@HEAD. Scenario: Isolated linker: fresh restore, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.6829875832599996,
"stddev": 0.11483577359573326,
"median": 2.6658758250599996,
"user": 2.3897828199999998,
"system": 1.88998372,
"min": 2.54977689506,
"max": 2.9076880630599997,
"times": [
2.9076880630599997,
2.54977689506,
2.72725181106,
2.5870721360599997,
2.66721604906,
2.8056690380599996,
2.6178117040599997,
2.7447301280599996,
2.5581244070599998,
2.66453560106
]
},
{
"command": "pacquet@main",
"mean": 2.57904338526,
"stddev": 0.14579451842299743,
"median": 2.54534776906,
"user": 1.8317856199999998,
"system": 1.4841668199999998,
"min": 2.39422362906,
"max": 2.79318399706,
"times": [
2.49215104406,
2.79318399706,
2.78900330806,
2.39422362906,
2.59854449406,
2.46634414006,
2.48248972206,
2.44718117406,
2.61099656106,
2.7163157830599998
]
},
{
"command": "pnpr@HEAD",
"mean": 1.45431017156,
"stddev": 0.08696961038478757,
"median": 1.4292891490600002,
"user": 1.17884332,
"system": 1.31133582,
"min": 1.3687416110600001,
"max": 1.59441431406,
"times": [
1.40460847706,
1.37482599906,
1.53479960406,
1.54939245706,
1.45396982106,
1.59441431406,
1.3687416110600001,
1.51539999406,
1.37614529906,
1.37080413906
]
},
{
"command": "pnpr@main",
"mean": 1.59687522576,
"stddev": 0.17101244982021657,
"median": 1.55467306006,
"user": 1.36106052,
"system": 1.36775272,
"min": 1.39976672506,
"max": 1.84352449806,
"times": [
1.80187015206,
1.48081198306,
1.84113711006,
1.54439410206,
1.59552909906,
1.56495201806,
1.39976672506,
1.84352449806,
1.43277321406,
1.46399335606
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.29941417975999995,
"stddev": 0.012220281102295602,
"median": 0.30027094746,
"user": 0.26630498,
"system": 0.5994816399999999,
"min": 0.27459775396,
"max": 0.31553624496,
"times": [
0.30038425096,
0.30724238296,
0.31553624496,
0.30015764396,
0.29811714796,
0.31196542196,
0.30411671696,
0.29745213896,
0.27459775396,
0.28457209496
]
},
{
"command": "pacquet@main",
"mean": 0.30059482115999997,
"stddev": 0.011615166704341812,
"median": 0.30095997246,
"user": 0.24749848000000002,
"system": 0.62016534,
"min": 0.28455785796,
"max": 0.31925850196,
"times": [
0.30181156396000003,
0.30936640596,
0.29029966196,
0.29608967696,
0.30010838096,
0.30665664196,
0.28545998396,
0.28455785796,
0.31925850196,
0.31233953596
]
},
{
"command": "pnpr@HEAD",
"mean": 0.30214816216,
"stddev": 0.017986880357178277,
"median": 0.29609815246,
"user": 0.25289777999999996,
"system": 0.59233234,
"min": 0.28153599596,
"max": 0.33553124296,
"times": [
0.31787107396000003,
0.29027322196,
0.28153599596,
0.30539327696,
0.28580748796,
0.29086478396,
0.32289745296,
0.33553124296,
0.30133152096,
0.28997556396
]
},
{
"command": "pnpr@main",
"mean": 0.30210371546000003,
"stddev": 0.015426999407452686,
"median": 0.30193345746,
"user": 0.25158188000000004,
"system": 0.6006150399999999,
"min": 0.27241259696,
"max": 0.32339242296,
"times": [
0.31146179496,
0.30942770996,
0.30423866596,
0.31907786196,
0.29962824896,
0.29837568396,
0.32339242296,
0.29953701696,
0.28348515196,
0.27241259696
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.8659383888800005,
"stddev": 0.02110516761553603,
"median": 2.86354403868,
"user": 2.1126974599999997,
"system": 1.5025032399999998,
"min": 2.8328294136800003,
"max": 2.9063097836800003,
"times": [
2.86272094168,
2.86166127868,
2.9063097836800003,
2.84732696468,
2.8643671356800002,
2.87900757568,
2.8328294136800003,
2.8491568646800003,
2.8869968696800004,
2.86900706068
]
},
{
"command": "pacquet@main",
"mean": 2.90333069468,
"stddev": 0.07260487230765164,
"median": 2.8904647391800005,
"user": 2.1701081599999994,
"system": 1.59307934,
"min": 2.80621585068,
"max": 3.0098259506800003,
"times": [
2.8105598086800003,
2.96552654268,
2.90818445868,
2.87084908468,
2.80621585068,
3.0098259506800003,
2.9988378896800003,
2.93356042468,
2.8727450196800004,
2.8570019166800003
]
},
{
"command": "pnpr@HEAD",
"mean": 1.64093773898,
"stddev": 0.15803356023319945,
"median": 1.62334228768,
"user": 1.28684106,
"system": 1.39349094,
"min": 1.44718596968,
"max": 1.8711087696800002,
"times": [
1.64333155468,
1.7856610756800002,
1.4956211966800002,
1.8496869186800002,
1.70230247268,
1.56378065068,
1.44718596968,
1.8711087696800002,
1.4473457606800002,
1.6033530206800002
]
},
{
"command": "pnpr@main",
"mean": 1.60720059998,
"stddev": 0.15874976927984732,
"median": 1.5654315311800002,
"user": 1.3244445599999999,
"system": 1.46546814,
"min": 1.4263754796800001,
"max": 1.86144385468,
"times": [
1.5476117386800001,
1.77311218868,
1.45661536068,
1.62979541168,
1.82049522868,
1.86144385468,
1.4929916116800002,
1.4803138016800002,
1.58325132368,
1.4263754796800001
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.70864015338,
"stddev": 0.015280739974257909,
"median": 0.71275664458,
"user": 0.88058966,
"system": 0.77326666,
"min": 0.68714317258,
"max": 0.7252005835800001,
"times": [
0.7234900575800001,
0.70665065358,
0.72012397758,
0.6892309185800001,
0.7252005835800001,
0.68714317258,
0.6974878545800001,
0.69491499658,
0.72329668358,
0.7188626355800001
]
},
{
"command": "pacquet@main",
"mean": 0.6521227257800001,
"stddev": 0.025786325098700144,
"median": 0.65318544408,
"user": 0.84868016,
"system": 0.7222975599999999,
"min": 0.61318009458,
"max": 0.6982745635800001,
"times": [
0.6792807575800001,
0.63582791058,
0.62195284058,
0.6403374295800001,
0.65464052558,
0.61318009458,
0.6982745635800001,
0.65839097758,
0.6676117955800001,
0.65173036258
]
},
{
"command": "pnpr@HEAD",
"mean": 0.31543176058,
"stddev": 0.016009181819417274,
"median": 0.31476097358,
"user": 0.20360766,
"system": 0.5618453600000001,
"min": 0.29627262258,
"max": 0.34360644858,
"times": [
0.32148335858,
0.34360644858,
0.29762013657999997,
0.33325741858,
0.30663934558,
0.32663920458,
0.31692246258,
0.31259948458,
0.29927712357999997,
0.29627262258
]
},
{
"command": "pnpr@main",
"mean": 0.29973300937999997,
"stddev": 0.009687416415662401,
"median": 0.29935944857999996,
"user": 0.18356256,
"system": 0.5394072600000002,
"min": 0.28378415058,
"max": 0.31419896258,
"times": [
0.30066995258,
0.31101434258,
0.31419896258,
0.29369469558,
0.30814348458,
0.29093665058,
0.29804894458,
0.30398622758,
0.29285268257999997,
0.28378415058
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.88868206378,
"stddev": 0.05592896077514683,
"median": 1.87383539678,
"user": 0.9528579199999999,
"system": 0.77262086,
"min": 1.83298163728,
"max": 2.02328856028,
"times": [
1.8626822542800001,
1.86906425528,
1.8858158342800002,
1.83298163728,
1.8822651642800001,
1.84351072128,
1.86436058028,
1.94424509228,
2.02328856028,
1.8786065382800001
]
},
{
"command": "pacquet@main",
"mean": 1.82370748728,
"stddev": 0.013694739000943494,
"median": 1.8254532937799999,
"user": 0.85625222,
"system": 0.7181910599999999,
"min": 1.8026766522800002,
"max": 1.84124440428,
"times": [
1.83808315528,
1.8337047422800001,
1.8026766522800002,
1.83152060128,
1.80531505928,
1.8190909512800002,
1.81324843228,
1.83280488828,
1.81938598628,
1.84124440428
]
},
{
"command": "pnpr@HEAD",
"mean": 0.28353727838000004,
"stddev": 0.006301352071633029,
"median": 0.28324462878,
"user": 0.18334862,
"system": 0.5116775600000001,
"min": 0.27243864628000003,
"max": 0.29109675028000004,
"times": [
0.29034205928,
0.29109675028000004,
0.28217500528,
0.28029372328,
0.27593896628000003,
0.27243864628000003,
0.28868229528,
0.28431425228,
0.28123781028,
0.28885327528000004
]
},
{
"command": "pnpr@main",
"mean": 0.28350596378,
"stddev": 0.006179546314317699,
"median": 0.28383359778,
"user": 0.17542062,
"system": 0.50637166,
"min": 0.27126515728,
"max": 0.29419717628000003,
"times": [
0.28045916428,
0.27126515728,
0.28740443028,
0.28644951228000004,
0.28340111328,
0.28277430428,
0.28705380928,
0.28426608228,
0.29419717628000003,
0.27778888828000003
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.31828805928000004,
"stddev": 0.007216869821111803,
"median": 0.31809299298000004,
"user": 0.3069576,
"system": 0.05781786,
"min": 0.30435584798000004,
"max": 0.33132306198,
"times": [
0.31859015398,
0.31680980098,
0.33132306198,
0.31759583198,
0.30435584798000004,
0.32277394898,
0.32290831098,
0.31119714598000003,
0.31643357198,
0.32089291798
]
},
{
"command": "pacquet@main",
"mean": 0.32274954258000005,
"stddev": 0.010285329210918947,
"median": 0.32297829798,
"user": 0.3118196,
"system": 0.05659425999999999,
"min": 0.30168284398,
"max": 0.33752881398,
"times": [
0.33752881398,
0.32376177798,
0.31932687998000003,
0.32437987198,
0.33224975698000003,
0.32046637398,
0.32219481798,
0.31350213498,
0.30168284398,
0.33240215398
]
},
{
"command": "pnpr@HEAD",
"mean": 0.07973041852285714,
"stddev": 0.0021369780438773448,
"median": 0.07984381598000001,
"user": 0.014309442857142859,
"system": 0.008905668,
"min": 0.07668810598,
"max": 0.08361648998,
"times": [
0.07972875098,
0.08205821598,
0.07714674998,
0.07668810598,
0.07734551398,
0.07849544798000001,
0.08032743798,
0.07759161598,
0.07683708698000001,
0.07984381598000001,
0.08056798098000001,
0.08243505498,
0.08169224698000001,
0.08225143898000001,
0.08209428298,
0.08175899298,
0.07738071998,
0.08177933098000001,
0.08191815198,
0.07805659298,
0.08091818998,
0.07714742198,
0.07735815698000001,
0.07709972198000001,
0.07978239098,
0.08067383998000001,
0.08133163798000001,
0.07807608998,
0.08155663198,
0.07738518898,
0.08115271098,
0.07723856298000001,
0.07866567898,
0.08256439898000001,
0.08361648998
]
},
{
"command": "pnpr@main",
"mean": 0.07945725292444444,
"stddev": 0.002112224916629044,
"median": 0.07940880348000001,
"user": 0.015131011111111111,
"system": 0.007999149444444444,
"min": 0.07637845298,
"max": 0.08385301498,
"times": [
0.07755005998,
0.07719629398,
0.07925207298,
0.08172559998000001,
0.07814737398,
0.07993925698,
0.07740527598000001,
0.07738141198000001,
0.07730203298,
0.07637845298,
0.07956553398,
0.08083670598,
0.07742468298,
0.07838769498,
0.08130486798,
0.08221984898000001,
0.08271195598,
0.08385301498,
0.08207133998,
0.08061700298,
0.08053405598,
0.08065134598,
0.08013432498,
0.08085224498,
0.07846480098,
0.08068763498,
0.07808433498,
0.07709390998,
0.08201781998,
0.07691763698000001,
0.07680150998,
0.07774886298,
0.07731173998,
0.07755439798000001,
0.08170065198000001,
0.08263535198000001
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.573426684879999,
"stddev": 0.14642312228723905,
"median": 4.5236741159800005,
"user": 1.7595699599999999,
"system": 1.41514244,
"min": 4.43128756948,
"max": 4.89694078948,
"times": [
4.49427875948,
4.68381119148,
4.4543944594800005,
4.46048301448,
4.61155564248,
4.43128756948,
4.55306947248,
4.67632364648,
4.89694078948,
4.47212230348
]
},
{
"command": "pacquet@main",
"mean": 4.7111210116799995,
"stddev": 0.12641917215505835,
"median": 4.67590557998,
"user": 1.8341375599999998,
"system": 1.43368954,
"min": 4.50589660948,
"max": 4.90969325848,
"times": [
4.66165283548,
4.66746733048,
4.85511779648,
4.68434382948,
4.77470186548,
4.50589660948,
4.58996279448,
4.63910998148,
4.90969325848,
4.82326381548
]
},
{
"command": "pnpr@HEAD",
"mean": 3.6348121984799997,
"stddev": 0.08932611781561353,
"median": 3.63244334998,
"user": 1.5224780599999996,
"system": 1.48281154,
"min": 3.53861692648,
"max": 3.76498498648,
"times": [
3.53861692648,
3.76498498648,
3.74381276148,
3.67044953748,
3.72713517248,
3.54001342248,
3.6423599924800003,
3.55436572748,
3.54385675048,
3.62252670748
]
},
{
"command": "pnpr@main",
"mean": 3.66243451458,
"stddev": 0.15336628776214475,
"median": 3.64304846948,
"user": 1.4879363599999995,
"system": 1.55840214,
"min": 3.49481809648,
"max": 3.92770179248,
"times": [
3.61278711248,
3.67330982648,
3.7602933164800003,
3.49481809648,
3.50492569548,
3.51168948748,
3.54139967248,
3.76917272648,
3.92770179248,
3.8282474194800002
]
}
]
} |
|
| Branch | pr/13090 |
| Testbed | pnpr |
⚠️ WARNING: No Threshold found!Without a Threshold, no Alerts will ever be generated.
Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the--ci-only-thresholdsflag.
Click to view all benchmark results
| Benchmark | Latency | milliseconds (ms) |
|---|---|---|
| isolated-linker.fresh-install.cold-cache.cold-store | 📈 view plot | 1,640.94 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 283.54 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 315.43 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 79.73 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,454.31 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,634.81 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 302.15 ms |
…ce support for licenses
Summary
This PR ports the licenses command to the Rust pacquet CLI to achieve feature parity with the TypeScript CLI. It introduces support for rendering project dependencies and their licenses using tabled for tabular output and serde_json for JSON formatting. It also implements recursive workspace support by aggregating dependencies across all filtered workspace projects when the recursive flag is provided.
Related to: #11633
Squash Commit Body
Checklist
[x] The change is implemented in both the TypeScript CLI and the Rust pnpm port.
[x] Added or updated tests.
Summary by CodeRabbit
licensescommand, also available aslicences.authorandhomepagemetadata for license/SBOM-related output.