1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Per-package-manager wrappers — cycle-7 Cli4. Day-1 scope per BD pick #4:
//! npm + pip + cargo + go (mvn + gem deferred to v0.1.1).
//!
//! Each wrapper parses the package manager's positional args, extracts
//! `(ecosystem, package, version)` triples, and surfaces them to the caller.
//! The caller (typically `cleanlib verdict <eco> <pkg> <ver>`) then calls
//! into `cleanlib_client::transport::Client::fetch_verdict` for the
//! verdict-aware gating decision.
//!
//! Shell-init mode (`cleanlib shell-init {bash|zsh|fish}`) emits these
//! wrappers as shell functions for transparent gating; the function bodies
//! delegate to `cleanlib verdict ...` per-package.
/// Common output of every wrapper's arg parser — the set of package
/// references the wrapped command would install.