Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Arguments []string
Functions ¶
func FileExists ¶
FileExists returns true if a file is existing. This is meant to be used with SourceFs related operations.
func IsTerminal ¶ added in v0.57.0
func IsTerminal() bool
func SetArgs ¶ added in v0.57.0
func SetArgs(c *cli.Context)
SetArgs set context arguments, for example command line `arrai -d r file.arrai arg1 arg2 arg3` will save `file.arrai arg1 arg2 arg3` as a slice to Arguments.
func ValueAsBytes ¶ added in v0.88.0
ValueAsBytes transform rel.Value to byte array. In arr.ai, all empty sets are the same and `""`, `{}` and `[]` will be parsed to rel.GenericSet.
func ValueAsString ¶ added in v0.88.0
ValueAsString transform rel.Value to string. In arr.ai, all empty sets are the same and `""`, `{}` and `[]` will be parsed to rel.GenericSet.
func ValueTypeAsString ¶ added in v0.179.0
ValueTypeAsString returns a string that describes the type of the value in a human-readable form.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.