blob: 8f876448c83006d6b664cd71610d0b45ee3c7cf3 (
plain)
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
|
use clap::Args;
#[derive(Args)]
pub struct ProhibitsArgs {
/// Package to inspect
pub package: String,
/// Version constraint
pub version: String,
/// Recursively resolve up to the root package
#[arg(short, long)]
pub recursive: bool,
/// Prints the results as a nested tree
#[arg(short, long)]
pub tree: bool,
/// Read dependency information from the lock file
#[arg(long)]
pub locked: bool,
}
pub fn execute(_args: &ProhibitsArgs, _cli: &super::Cli) -> anyhow::Result<()> {
todo!()
}
|