MCPcopy Index your code
hub / github.com/cloudfoundry/multiapps-cli-plugin / GetStringOpt

Function GetStringOpt

commands/base_command.go:133–135  ·  view source on GitHub ↗

GetStringOpt gets the option identified by the specified name.

(name string, flags *flag.FlagSet)

Source from the content-addressed store, hash-verified

131
132// GetStringOpt gets the option identified by the specified name.
133func GetStringOpt(name string, flags *flag.FlagSet) string {
134 return flags.Lookup(name).Value.String()
135}
136
137// GetUintOpt gets the option identified by the specified name.
138func GetUintOpt(name string, flags *flag.FlagSet) uint {

Callers 13

executeInternalMethod · 0.85
executeInternalMethod · 0.85
NewDeploymentStrategyFunction · 0.85
isIncrementalBlueGreenFunction · 0.85
executeInternalMethod · 0.85
hasValueFunction · 0.85
executeInternalMethod · 0.85
executeInternalMethod · 0.85
executeInternalMethod · 0.85
ExecuteMethod · 0.85
GetBoolOptFunction · 0.85

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected