cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerCli command.Cli

DockerCli is the Docker CLI interface

View Source
var RootCmd = &cobra.Command{
	Use:   "ibug",
	Short: "iBug's Docker CLI plugin",
	Long:  "iBug's Docker CLI plugin, but there's no feature implemented yet.",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}

RootCmd represents the base command when called without any subcommands

View Source
var TestCmd = &cobra.Command{
	Use:    "test",
	Short:  "test command",
	Run:    RunTest,
	Hidden: true,
}

Functions

func MakeCmd

func MakeCmd(dockerCli command.Cli) *cobra.Command

MakeCmd implements the first argument for docker/cli/cli-plugins/plugin.Run

func RunTest added in v0.0.2

func RunTest(cmd *cobra.Command, args []string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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