From 8422e0ada52d8036c32257d84f069776e520079e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 3 May 2026 01:31:04 +0800 Subject: Add missing articles and improve documentation --- mingling_core/src/asset/comp/flags.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mingling_core/src/asset/comp/flags.rs') diff --git a/mingling_core/src/asset/comp/flags.rs b/mingling_core/src/asset/comp/flags.rs index f61e9ac..452126b 100644 --- a/mingling_core/src/asset/comp/flags.rs +++ b/mingling_core/src/asset/comp/flags.rs @@ -1,13 +1,22 @@ use just_fmt::snake_case; +/// Represents the shell environment for which the output format is intended. +/// +/// This enum defines the supported shell types that can be used for +/// generating shell-specific command syntax, scripts, or completions. #[derive(Default, Debug, Clone)] #[cfg_attr(feature = "general_renderer", derive(serde::Serialize))] pub enum ShellFlag { + /// Represents the Bash shell. #[default] Bash, + /// Represents the Zsh shell. Zsh, + /// Represents the Fish shell. Fish, + /// Represents PowerShell. Powershell, + /// A custom or unsupported shell type, identified by the provided string. Other(String), } -- cgit