Documentation
¶
Index ¶
Constants ¶
View Source
const ( ORGANIZATION_ID_FLAG = "organization-id" PROJECT_ID_FLAG = "project-id" )
Variables ¶
This section is empty.
Functions ¶
func SetProjectFlagsAsRequired ¶
This function is meant to run in the PreRun of V2 commands to ensure that the flags are marked as required if no values have been set through the `config project add/use` commands.
func SetProjetDefaults ¶
func SetProjetDefaults(cfg *clicfg.Config, organizationId string, projectId string) (string, string, error)
This function is meant to run in the RunE of V2 commands to ensure that the values are set as the given default values if no values are given via flags when running the command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.