cli

package
v0.0.0-...-8150c2d Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: AGPL-3.0 Imports: 24 Imported by: 0

README

Basic Command Line Interface:

Use steam help ... for assistance.

TODO:

  • Formatted error messages
  • Centralize formatting for objects (clusters, engines, identities... etc.)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(version, buildDate string)

func Steam

func Steam(version, buildDate string, stdout, stderr, trace io.Writer) *cobra.Command

Types

type Config

type Config struct {
	Version     string
	Kind        string
	CurrentHost string
	Hosts       map[string]*Host
}

type Doc

type Doc struct {
	Usage string
	Short string
	Long  string
}

type Host

type Host struct {
	Username             string
	Password             string
	AuthenticationMethod string
	EnableTLS            bool
}

Jump to

Keyboard shortcuts

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