update

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagId       = "id"
	FlagProject  = "project"
	FlagName     = "name"
	FlagValue    = "value"
	FlagUnscoped = "unscoped"
	FlagGitRef   = "git-ref"
)

Variables

This section is empty.

Functions

func NewUpdateCmd

func NewUpdateCmd(f factory.Factory) *cobra.Command

func PromptMissing

func PromptMissing(opts *UpdateOptions) error

Types

type UpdateFlags

type UpdateFlags struct {
	Id       *flag.Flag[string]
	Project  *flag.Flag[string]
	Name     *flag.Flag[string]
	Value    *flag.Flag[string]
	Unscoped *flag.Flag[bool]
	GitRef   *flag.Flag[string]

	*sharedProjectVariable.ScopeFlags
}

func NewUpdateFlags

func NewUpdateFlags() *UpdateFlags

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL