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

Function executeCmd

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

Source from the content-addressed store, hash-verified

181}
182
183func executeCmd(cmd *kingpin.CmdClause) *kingpin.CmdClause {
184 selectorFlags(cmd)
185 showTraceFlag(cmd)
186 askForSudoPasswdFlag(cmd)
187 getSudoPasswdCommand(cmd)
188 timeoutFlag(cmd)
189 deploymentArg(cmd)
190 cmd.
191 Arg("command", "Command to execute").
192 Required().
193 StringsVar(&executeCommand)
194 cmd.NoInterspersed = true
195 return cmd
196}
197
198func deployCmd(cmd *kingpin.CmdClause) *kingpin.CmdClause {
199 selectorFlags(cmd)

Callers 1

morph.goFile · 0.85

Calls 6

selectorFlagsFunction · 0.85
showTraceFlagFunction · 0.85
askForSudoPasswdFlagFunction · 0.85
getSudoPasswdCommandFunction · 0.85
timeoutFlagFunction · 0.85
deploymentArgFunction · 0.85

Tested by

no test coverage detected