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

Function check

pkg/cmd/project/convert/convert.go:214–220  ·  view source on GitHub ↗
(value string, defaultValue string)

Source from the content-addressed store, hash-verified

212}
213
214func check(value string, defaultValue string) string {
215 if value == "" {
216 return defaultValue
217 }
218
219 return value
220}
221
222func (co *ConvertOptions) GenerateAutomationCmd() {
223 if !co.NoPrompt {

Callers 1

CommitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected