Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(c *cli.Context) *client.Client

Types

type CLI added in v0.11.2

type CLI struct {
	*cli.App
	Client func(*cli.Context) *client.Client
	Stdin  *os.File
}

func New added in v0.11.2

func New(clientFn func(*cli.Context) *client.Client, stdin *os.File, version string) *CLI

type GlobalConfig

type GlobalConfig struct {
	Server   string `json:"server"`
	Token    string `json:"token"`
	CertFile string `json:"cert_file"`
}

Jump to

Keyboard shortcuts

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