package secret import ( "github.com/spf13/cobra" ) // NewSecretCommand creates the secret command and its subcommands func NewSecretCommand() *cobra.Command { cmd := &cobra.Command{ Use: "secret", Short: "Manage Wild Cloud secrets", Long: `Manage Wild Cloud secrets stored in secrets.yaml. Secret values are stored as YAML and can be accessed using dot-notation paths. Secret values are typically not displayed in output for security reasons. Examples: wild secret get database.password wild secret set database.password mysecretpassword wild secret get apps.myapp.api_key`, } // Add subcommands cmd.AddCommand( newGetCommand(), newSetCommand(), ) return cmd }