aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands/licenses.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/licenses.rs')
-rw-r--r--src/commands/licenses.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/commands/licenses.rs b/src/commands/licenses.rs
new file mode 100644
index 0000000..d9b0caf
--- /dev/null
+++ b/src/commands/licenses.rs
@@ -0,0 +1,20 @@
+use clap::Args;
+
+#[derive(Args)]
+pub struct LicensesArgs {
+ /// Output format (text, json, summary)
+ #[arg(short, long)]
+ pub format: Option<String>,
+
+ /// Disables listing of require-dev packages
+ #[arg(long)]
+ pub no_dev: bool,
+
+ /// List packages from the lock file
+ #[arg(long)]
+ pub locked: bool,
+}
+
+pub fn execute(_args: &LicensesArgs) {
+ todo!()
+}