cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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

func Execute()

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

func ExecuteWithArgs

func ExecuteWithArgs(a ...string)

ExecuteWithArgs executes the CLI using the specified arguments.

Types

type CLI

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

CLI is the Polly command line interface.

func New

func New() *CLI

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

func NewWithArgs

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