MCPcopy Create free account
hub / github.com/apache/incubator-pegasus / executeRemoteCommand

Function executeRemoteCommand

admin-cli/cmd/remote_command.go:69–72  ·  view source on GitHub ↗
(c *grumble.Context, ntype session.NodeType)

Source from the content-addressed store, hash-verified

67}
68
69func executeRemoteCommand(c *grumble.Context, ntype session.NodeType) error {
70 command := c.Args.StringList("command")
71 return executor.RemoteCommand(pegasusClient, ntype, c.Flags.String("node"), command[0], command[1:])
72}

Callers 1

initFunction · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected