cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown = iota
	SystemD
	UpdateRcD
	ChkConfig
)

init system types

Variables

This section is empty.

Functions

func Execute added in v0.2.1

func Execute(ctx apitypes.Context)

Execute executes the CLI using the current process's arguments.

func ExecuteWithArgs added in v0.2.1

func ExecuteWithArgs(ctx apitypes.Context, a ...string)

ExecuteWithArgs executes the CLI using the specified arguments.

Types

type CLI added in v0.2.1

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

CLI is the REX-Ray command line interface.

func New added in v0.2.1

func New(ctx apitypes.Context) *CLI

New returns a new CLI using the current process's arguments.

func NewWithArgs added in v0.2.1

func NewWithArgs(ctx apitypes.Context, a ...string) *CLI

NewWithArgs returns a new CLI using the specified arguments.

func (*CLI) Execute added in v0.2.1

func (c *CLI) Execute()

Execute executes the CLI.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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