cli

package
v0.0.0-...-97177e4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: GPL-3.0 Imports: 42 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx *Context, argv ...string) error

func RunDapp

func RunDapp(ctx *Context) error

func RunDappDeploy

func RunDappDeploy(ctx *Context) error

func RunDappSetRoot

func RunDappSetRoot(ctx *Context) error

func RunGraph

func RunGraph(ctx *Context) error

func RunGraphCreate

func RunGraphCreate(ctx *Context) error

func RunGraphLoad

func RunGraphLoad(ctx *Context) error

func RunID

func RunID(ctx *Context) error

func RunIDNew

func RunIDNew(ctx *Context) error

func RunNode

func RunNode(ctx *Context) error

Types

type Args

type Args map[string]interface{}

func (Args) Bool

func (a Args) Bool(name string) bool

func (Args) List

func (a Args) List(name string) []string

func (Args) String

func (a Args) String(name string) string

type Context

type Context struct {
	context.Context

	Args Args

	Stdin  io.Reader
	Stdout io.Writer
	Stderr io.Writer
}

func NewContext

func NewContext(ctx context.Context) *Context

func (*Context) Client

func (c *Context) Client() (*kord.Client, error)

func (*Context) NodeURL

func (c *Context) NodeURL() string

func (*Context) URI

func (c *Context) URI() (*uri.URI, error)

Jump to

Keyboard shortcuts

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