api/internal/cmd/plugins.go
Peter Kurfer a720b0ee41
Initial working version
* supports HTTP
* support TLS interception e.g. for HTTPS
* support CA generation via cli
* first draft of plugin API
* support commands from plugins
* includes Dockerfile
* includes basic configuration
2020-04-01 04:08:21 +02:00

22 lines
591 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
var (
pluginsCmd *cobra.Command
)
func init() {
pluginsCmd = &cobra.Command{
Use: "plugins",
Short: "Use the plugins prefix to interact with commands that are provided by plugins",
Long: `
The plugin prefix can be used to interact with commands that are provided by plugins.
The easiest way to explore what commands are available is to start with 'inetmock plugins' - like you did!
This help page contains a list of available sub-commands starting with the name of the plugin as a prefix.
`,
}
rootCmd.AddCommand(pluginsCmd)
}