cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(name, version string) *App

func (*App) RegisterCmd

func (a *App) RegisterCmd(names string, cmd func() Command)

func (*App) Run

func (a *App) Run() (int, error)

type Command

type Command mcli.Command

type UI

type UI interface {
	mcli.Ui
}

UI implements the mitchellh/cli.Ui interface.

func DefaultUI

func DefaultUI() UI

Jump to

Keyboard shortcuts

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