Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildBox ¶
BuildBox creates a new Starbox with the given options. By default every wired module is available (the open posture); a restrictive --caps tier / STAR_CAPS or an --allow-* flag installs a capability load gate so only the permitted modules may be loaded.
Types ¶
type Args ¶
type Args struct {
AllowRecursion bool
AllowGlobalReassign bool
ModulesToLoad []string
IncludePath string
FileName string
CodeContent string
WebPort uint16
NumberOfArgs int
Arguments []string
LogLevel string
ShowVersion bool
InteractiveMode bool
OutputPrinter string
ConfigFile string
MaxSteps uint64
MaxOutput uint
Caps string
AllowNet bool
AllowFS bool
AllowCmd bool
Dangerous bool
Check bool
LogFile string
LogFormat string
Record string
}
Args is the command line arguments for starcli.
func ParseArgs ¶
func ParseArgs() *Args
ParseArgs parses command line arguments and returns the Args object.
func (*Args) BasicBoxOpts ¶
BasicBoxOpts returns the basic BoxOpts object based on the command line arguments.
Click to show internal directories.
Click to hide internal directories.