aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/suggests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/suggests.rs')
-rw-r--r--crates/mozart/src/commands/suggests.rs31
1 files changed, 31 insertions, 0 deletions
diff --git a/crates/mozart/src/commands/suggests.rs b/crates/mozart/src/commands/suggests.rs
new file mode 100644
index 0000000..6a80501
--- /dev/null
+++ b/crates/mozart/src/commands/suggests.rs
@@ -0,0 +1,31 @@
+use clap::Args;
+
+#[derive(Args)]
+pub struct SuggestsArgs {
+ /// Package(s) to list suggestions for
+ pub packages: Vec<String>,
+
+ /// Group output by package
+ #[arg(long)]
+ pub by_package: bool,
+
+ /// Group output by suggestion
+ #[arg(long)]
+ pub by_suggestion: bool,
+
+ /// Show suggestions for all packages, not just root
+ #[arg(short, long)]
+ pub all: bool,
+
+ /// Show only suggested package names in list format
+ #[arg(long)]
+ pub list: bool,
+
+ /// Disables suggestions from require-dev packages
+ #[arg(long)]
+ pub no_dev: bool,
+}
+
+pub fn execute(_args: &SuggestsArgs) {
+ todo!()
+}