package
Version:
v0.0.0-...-40a7325
Opens a new window with list of versions in this module.
Published: Feb 3, 2020
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cmd exports a function to create easily a CLI based on cobra.
Bot returns a *cobra.Command
Client returns a *cobra.Command with multiple subcommands.
Root creates a root *cobra.Command and then adds to it
the received *cobra.Commands, then it executes the root command
returning an error if any.
Server returns a *cobra.Command.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.