cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 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