aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands/prohibits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/prohibits.rs')
-rw-r--r--src/commands/prohibits.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/commands/prohibits.rs b/src/commands/prohibits.rs
new file mode 100644
index 0000000..aff1ee0
--- /dev/null
+++ b/src/commands/prohibits.rs
@@ -0,0 +1,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) {
+ todo!()
+}