func (cmd *CommandUpdate) Flags() []flags.Flag {
	return []flags.Flag{
		cli.AppFlagWithContext(&cmd.inputs.App, "to update its secrets"),
		cli.ProjectFlag(&cmd.inputs.Project),
		cli.ProductFlag(&cmd.inputs.Products),
		flags.StringFlag{
			Value: &cmd.inputs.secret,
			Meta: flags.Meta{
				Name:      flagSecret,
				Shorthand: flagSecretShort,
				Usage: flags.Usage{
					Description: "Specify the name or ID of the secret to update",
				},
			},
		},
		nameFlag(&cmd.inputs.name, "Re-name the secret"),
		valueFlag(&cmd.inputs.value, "Specify the new secret value"),
	}
}
Flags function for the secrets update command
package secrets
import (
	"github.com/10gen/realm-cli/internal/cli"
	"github.com/10gen/realm-cli/internal/cli/user"
	"github.com/10gen/realm-cli/internal/terminal"
	"github.com/10gen/realm-cli/internal/utils/flags"
)
var CommandMetaUpdate = cli.CommandMeta{
	Use:         "update",
	Display:     "secret update",
	Description: "Update a Secret in your Realm app",
	HelpText: `NOTE: The Name of the Secret cannot be modified. In order to do so, you will
need to delete and re-create the Secret.`,
}
type CommandUpdate struct {
	inputs updateInputs
}
func (cmd *CommandUpdate) Inputs() cli.InputResolver {
	return &cmd.inputs
}