cmd

package
v0.0.0-...-c74c510 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicCommand

func BasicCommand(command string, description string) cobra.Command

BasicCommand constructs and returns a Docker container command which doesn not take extra options

func Execute

func Execute()

Execute is the entrypoint to the CLI

func OptionCommand

func OptionCommand(command string, description string) cobra.Command

OptionCommand constructs and returns a Docker container command which takes extra options

func ShellCommand

func ShellCommand(shellCommand string, description string) (cmd cobra.Command)

ShellCommand constructs and returns a Docker container command to attach a shell to the active terminal

Types

This section is empty.

Jump to

Keyboard shortcuts

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