package
Version:
v0.0.0-...-344c929
Opens a new window with list of versions in this module.
Published: Apr 25, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
App returns the cli app within the default command.
func Register(cmds ...*cli.Command)
Register appends commands to the default app.
Run runs the cli app within the default command. On error, it prints the
error message and exits.
type CLI interface {
App() *cli.App
Run() error
}
CLI is the interface that wraps the cli app.
CLI embeds the Cmd interface from the go-micro.dev/v4/cmd
package and adds a Run method.
Run runs the cli app within this command and exits on error.
NewCLI returns a new command.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.