delete

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagId      = "id"
	FlagName    = "name"
	FlagProject = "project"
)

Variables

This section is empty.

Functions

func NewDeleteCmd

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

Types

type DeleteFlags

type DeleteFlags struct {
	Id      *flag.Flag[string]
	Name    *flag.Flag[string]
	Project *flag.Flag[string]
	*question.ConfirmFlags
}

func NewDeleteFlags

func NewDeleteFlags() *DeleteFlags

type DeleteOptions

type DeleteOptions struct {
	*DeleteFlags
	*cmd.Dependencies
	shared.GetProjectCallback
}

func NewDeleteOptions

func NewDeleteOptions(flags *DeleteFlags, dependencies *cmd.Dependencies) *DeleteOptions

Jump to

Keyboard shortcuts

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