update

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

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

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]

	*sharedVariable.ScopeFlags
}

func NewUpdateFlags

func NewUpdateFlags() *UpdateFlags

Jump to

Keyboard shortcuts

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