MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewCreateFlags

Function NewCreateFlags

pkg/cmd/channel/create/create.go:37–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func NewCreateFlags() *CreateFlags {
38 return &CreateFlags{
39 Project: flag.New[string](FlagProject, false),
40 Name: flag.New[string](FlagName, false),
41 Description: flag.New[string](FlagDescription, false),
42 Default: flag.New[bool](FlagDefault, false),
43 Lifecycle: flag.New[string](FlagLifecycle, false),
44 }
45}
46
47type CreateOptions struct {
48 *CreateFlags

Callers 1

NewCmdCreateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected