package
Version:
v0.0.0-...-371464c
Opens a new window with list of versions in this module.
Published: Jul 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
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.
DefaultOptions returns the options passed to 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.
CLI is the interface that wraps the cli app.
CLI embeds the Cmd interface from the github.com/smart-echo/micro/util/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.