Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CmdServiceEnv = cli.NewCmd[Env](CmdService, "env", func(cmd *cobra.Command) { cfg := cli.ConfigFromCmd(cmd) cmd.Flags().StringVar(&cfg.Service.EnvOutput, "env-output", cli.Defaults.Service.EnvOutput, "Integration method for environment variables.") cmd.Flags().StringVarP(&cfg.Org.APID, "org", "o", cli.Defaults.Org.APID, "Organization to trust.") cmd.Flags().StringVarP(&cfg.Realm.APID, "realm", "r", cli.Defaults.Realm.APID, "Realm to trust.") cmd.Flags().StringVarP(&cfg.Service.APID, "service", "s", cli.Defaults.Service.APID, "Service for ENV.") cmd.Flags().StringVar(&cfg.Service.EnvOutput, "method", cli.Defaults.Service.EnvOutput, "Integration method for environment variables.") _ = cmd.Flags().MarkDeprecated("method", "Please use `--env-output` instead.") }) MethodExport = "export" MethodDotenv = "dotenv" MethodDisplay = "display" )
Functions ¶
This section is empty.
Types ¶
type Env ¶
Click to show internal directories.
Click to hide internal directories.