cmd

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Version can be set via:
	// -ldflags="-X go.virtualstaticvoid.com/ldhdns/cmd.Version=$VERSION"
	Version string

	// Root top-level cobra.Command
	Root = &cobra.Command{
		Use:   "ldhdns",
		Short: "a tool to provide DNS for docker containers running on a single host.",
		Run:   func(cmd *cobra.Command, _ []string) { _ = cmd.Usage() },
	}
)

Functions

func NewCmdController

func NewCmdController() *cobra.Command

NewCmdController creates a new cobra.Command for the controller sub-command.

func NewCmdDns

func NewCmdDns() *cobra.Command

NewCmdDns creates a new cobra.Command for the dns sub-command.

func NewCmdVersion

func NewCmdVersion() *cobra.Command

NewCmdVersion creates a new cobra.Command for the version sub-command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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