Update cmd/print_env.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
yxxhero 2025-11-27 22:22:02 +08:00 committed by GitHub
parent 1a6a8ddaaa
commit ef5dcfa75e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ func NewPrintEnvCmd(globalCfg *config.GlobalImpl) *cobra.Command {
cmd := &cobra.Command{
Use: "print-env",
Short: "Print parsed environment configuration including merged values (with decrypted secrets)",
Short: "Print parsed environment configuration",
Long: "Print parsed environment configuration including merged values (with decrypted secrets). This command outputs the effective environment configuration after merging values and decrypting secrets, in either YAML or JSON format.",
RunE: func(cmd *cobra.Command, args []string) error {
printEnvImpl := config.NewPrintEnvImpl(globalCfg, printEnvOptions)
err := config.NewCLIConfigImpl(printEnvImpl.GlobalImpl)
if err != nil {
return err