cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2015 License: Apache-2.0 Imports: 26 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()

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

func ExecuteWithArgs added in v0.2.1

func ExecuteWithArgs(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() *CLI

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

func NewWithArgs added in v0.2.1

func NewWithArgs(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