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

Function New

pkg/util/flag/flag.go:53–58  ·  view source on GitHub ↗
(name string, secure bool)

Source from the content-addressed store, hash-verified

51}
52
53func New[T any](name string, secure bool) *Flag[T] {
54 return &Flag[T]{
55 Name: name,
56 Secure: secure,
57 }
58}
59
60// GenerateAutomationCmd generates the command that can be used to achive
61// the same results with the CLI in automation mode.

Callers 15

NewDeployFlagsFunction · 0.92
NewFlagsFunction · 0.92
NewCreateFlagsFunction · 0.92
NewUploadFlagsFunction · 0.92
NewPackageCreateFlagsFunction · 0.92
NewNuPkgCreateFlagsFunction · 0.92
NewScopeFlagsFunction · 0.92
NewCreateFlagsFunction · 0.92
NewConvertFlagsFunction · 0.92
NewCreateFlagsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected