Update cmd/print_env.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
1a6a8ddaaa
commit
ef5dcfa75e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue