MCPcopy Create free account
hub / github.com/DBCDK/morph / attributeArg

Function attributeArg

morph.go:70–74  ·  view source on GitHub ↗
(cmd *kingpin.CmdClause)

Source from the content-addressed store, hash-verified

68}
69
70func attributeArg(cmd *kingpin.CmdClause) {
71 cmd.Arg("attribute", "Name of attribute to inspect").
72 Required().
73 StringVar(&attrkey)
74}
75
76func timeoutFlag(cmd *kingpin.CmdClause) {
77 cmd.Flag("timeout", "Seconds to wait for commands/healthchecks on a host to complete").

Callers 1

evalCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected