MCPcopy Index your code
hub / github.com/abiosoft/ishell / DeleteCmd

Method DeleteCmd

command.go:51–53  ·  view source on GitHub ↗

DeleteCmd deletes cmd from subcommands.

(name string)

Source from the content-addressed store, hash-verified

49
50// DeleteCmd deletes cmd from subcommands.
51func (c *Cmd) DeleteCmd(name string) {
52 delete(c.children, name)
53}
54
55// Children returns the subcommands of c.
56func (c *Cmd) Children() []*Cmd {

Callers 1

TestDeleteCommandFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDeleteCommandFunction · 0.36