cli

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2017 License: Apache-2.0 Imports: 40 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

func Execute(ctx apitypes.Context)

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

func ExecuteWithArgs

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

ExecuteWithArgs executes the CLI using the specified arguments.

Types

type CLI

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

CLI is the REX-Ray command line interface.

func New

func New(ctx apitypes.Context) *CLI

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

func NewWithArgs

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

NewWithArgs returns a new CLI using the specified arguments.

func (*CLI) Execute

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