aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/prohibits.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-11 10:15:55 +0900
committernsfisis <nsfisis@gmail.com>2026-02-11 10:15:55 +0900
commit3f80f3acd90c9782420cc0d33fcf77035e522b15 (patch)
tree028e62e45529431be846713156d93d5a208480c7 /crates/mozart/src/commands/prohibits.rs
parent8441abd29aea53719c19f34ec6d542a4575a23c9 (diff)
downloadphp-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.tar.gz
php-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.tar.zst
php-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.zip
enable workspace
Diffstat (limited to 'crates/mozart/src/commands/prohibits.rs')
-rw-r--r--crates/mozart/src/commands/prohibits.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/mozart/src/commands/prohibits.rs b/crates/mozart/src/commands/prohibits.rs
new file mode 100644
index 0000000..aff1ee0
--- /dev/null
+++ b/crates/mozart/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!()
+}