aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/commands/config.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/config.rs
parent8441abd29aea53719c19f34ec6d542a4575a23c9 (diff)
downloadphp-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.tar.gz
php-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.tar.zst
php-mozart-3f80f3acd90c9782420cc0d33fcf77035e522b15.zip
enable workspace
Diffstat (limited to 'src/commands/config.rs')
-rw-r--r--src/commands/config.rs58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/commands/config.rs b/src/commands/config.rs
deleted file mode 100644
index 4434840..0000000
--- a/src/commands/config.rs
+++ /dev/null
@@ -1,58 +0,0 @@
-use clap::Args;
-
-#[derive(Args)]
-pub struct ConfigArgs {
- /// Setting key
- pub setting_key: Option<String>,
-
- /// Setting value(s)
- pub setting_value: Vec<String>,
-
- /// Apply to the global config file
- #[arg(short, long)]
- pub global: bool,
-
- /// Open the config file in an editor
- #[arg(short, long)]
- pub editor: bool,
-
- /// Affect auth config file
- #[arg(short, long)]
- pub auth: bool,
-
- /// Unset the given setting key
- #[arg(long)]
- pub unset: bool,
-
- /// List the current configuration variables
- #[arg(short, long)]
- pub list: bool,
-
- /// Use a specific config file
- #[arg(short, long)]
- pub file: Option<String>,
-
- /// Returns absolute paths when fetching *-dir config values
- #[arg(long)]
- pub absolute: bool,
-
- /// JSON decode the setting value
- #[arg(short, long)]
- pub json: bool,
-
- /// Merge the setting value with the current value
- #[arg(short, long)]
- pub merge: bool,
-
- /// Append to existing array values
- #[arg(long)]
- pub append: bool,
-
- /// Display the origin of a config setting
- #[arg(long)]
- pub source: bool,
-}
-
-pub fn execute(_args: &ConfigArgs) {
- todo!()
-}