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

Function NewCreateFlags

pkg/cmd/environment/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 Name: flag.New[string](FlagName, false),
40 Description: flag.New[string](FlagDescription, false),
41 GuidedFailureMode: flag.New[bool](FlagUseGuidedFailure, false),
42 DynamicInfrastructure: flag.New[bool](FlagDynamicInfrastructure, false),
43 Tag: flag.New[[]string](FlagTag, false),
44 }
45}
46
47type GetAllTagSetsCallback func() ([]*tagsets.TagSet, error)
48

Callers 1

NewCmdCreateFunction · 0.70

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected