Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagName = "name" FlagDescription = "description" FlagTeam = "team" FlagUser = "user" )
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.