cli

package
v0.0.0-...-7470864 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Host = cmd.Sub{
	Name:  "host",
	Alias: "h",
	Short: "Dump out information about the host.",
	Flags: &HostFlags{},
	Args:  &HostArgs{},
	Run:   RunHost,
}

Host dumps out information about the host

View Source
var Root *cmd.Root

Root is the main command.

Functions

func RunHost

func RunHost(r *cmd.Root, c *cmd.Sub)

RunHost detects the host of the machine

Types

type GlobalFlags

type GlobalFlags struct{}

GlobalFlags contains the flags for commands.

type HostArgs

type HostArgs struct{}

Args and flags for generate

type HostFlags

type HostFlags struct{}

Jump to

Keyboard shortcuts

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