hide

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 3 Imported by: 0

README

Hide commands

This serves as an example to hide commands in a CLI created with ricecake.

Code

Output:

$ go run examples/hide/main.go
I am the root command!

Help menu:

$ go run examples/hide/main.go --help
CLI v0.1.0 - CLI with hidden subcommand

This is an example CLI where a subcommand is hidden.

Available commands:


Flags:

      --help   Get       help for the 'cli' command.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL