shellio

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Println

func Println(format string, a ...interface{})

Types

type AgentCmdArgs

type AgentCmdArgs struct {
	Verbose       []bool   `short:"v" long:"verbose" description:"Show verbose debug information"`
	Host          string   `short:"h" long:"host" description:"Agent server host" default:"0.0.0.0"`
	Port          uint     `short:"p" long:"port" description:"Agent server port" default:"17779"`
	ConfigPath    string   `short:"c" long:"config" description:"Explicit configuration file"`
	CommandString string   `short:"d" long:"default-command" description:"Default command string"`
	StaticPath    []string `short:"s" long:"static-path" description:"Path of static web resources"`
}

func ParseArgs

func ParseArgs() (AgentCmdArgs, error)

Jump to

Keyboard shortcuts

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