command: hide internal commands
This marks commands as internal via a magic usage string. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -289,6 +289,7 @@ func buildTestCommand(wout, wlog io.Writer) (c command.Command) {
|
||||
})
|
||||
|
||||
c.New("empty", "empty subcommand")
|
||||
c.New("hidden", command.UsageInternal)
|
||||
|
||||
c.New("join", "wraps strings.Join").
|
||||
Command("out", "write result to wout", func(args []string) error {
|
||||
|
||||
Reference in New Issue
Block a user