create

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

Documentation

Index

Constants

View Source
const (
	FlagName        = "name"
	FlagDescription = "description"
	FlagTeam        = "team"
	FlagUser        = "user"
)

Variables

This section is empty.

Functions

func NewCmdCreate

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

func PromptMissing added in v0.5.0

func PromptMissing(opts *CreateOptions) error

Types

type CreateFlags added in v0.5.0

type CreateFlags struct {
	Name        *flag.Flag[string]
	Description *flag.Flag[string]
	Teams       *flag.Flag[[]string]
	Users       *flag.Flag[[]string]
}

func NewCreateFlags added in v0.5.0

func NewCreateFlags() *CreateFlags

type CreateOptions added in v0.5.0

type CreateOptions struct {
	*cmd.Dependencies
	*CreateFlags
	GetAllSpacesCallback shared.GetAllSpacesCallback
	GetAllTeamsCallback  shared.GetAllTeamsCallback
	GetAllUsersCallback  shared.GetAllUsersCallback
}

func NewCreateOptions added in v0.5.0

func NewCreateOptions(f factory.Factory, flags *CreateFlags, c *cobra.Command) *CreateOptions

Jump to

Keyboard shortcuts

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