aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands/init.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 /src/commands/init.rs
parent8441abd29aea53719c19f34ec6d542a4575a23c9 (diff)
downloadphp-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.tar.gz
php-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.tar.zst
php-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.zip
enable workspace
Diffstat (limited to 'src/commands/init.rs')
-rw-r--r--src/commands/init.rs52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/commands/init.rs b/src/commands/init.rs
deleted file mode 100644
index 059e494..0000000
--- a/src/commands/init.rs
+++ /dev/null
@@ -1,52 +0,0 @@
-use clap::Args;
-
-#[derive(Args)]
-pub struct InitArgs {
- /// Name of the package (vendor/name)
- #[arg(long)]
- pub name: Option<String>,
-
- /// Description of the package
- #[arg(long)]
- pub description: Option<String>,
-
- /// Author name of the package
- #[arg(long)]
- pub author: Option<String>,
-
- /// Type of the package
- #[arg(long, value_name = "TYPE")]
- pub r#type: Option<String>,
-
- /// Homepage of the package
- #[arg(long)]
- pub homepage: Option<String>,
-
- /// Package(s) to require
- #[arg(long)]
- pub require: Vec<String>,
-
- /// Package(s) to require for development
- #[arg(long)]
- pub require_dev: Vec<String>,
-
- /// Minimum stability (stable, RC, beta, alpha, dev)
- #[arg(short, long)]
- pub stability: Option<String>,
-
- /// License of the package
- #[arg(short, long)]
- pub license: Option<String>,
-
- /// Add a custom repository
- #[arg(long)]
- pub repository: Vec<String>,
-
- /// Define a PSR-4 autoload namespace
- #[arg(short, long)]
- pub autoload: Option<String>,
-}
-
-pub fn execute(_args: &InitArgs) {
- todo!()
-}