Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAutoCompleter ¶
func NewAutoCompleter(ctx *commands.ExecContext) readline.AutoCompleter
func Start ¶
func Start(ctx *commands.ExecContext) error
Types ¶
type DSLSession ¶
type DSLSession struct {
// contains filtered or unexported fields
}
func NewDSLSession ¶
NewDSLSession creates a DSL session bound to mgr's environment storage.
mgr must be non-nil — pass env.Default() to use the standard <UserHomeDir>/.insyra root, or env.NewManager(path) for a custom one. envName "" defaults to "default". output nil silently discards.
func (*DSLSession) Context ¶
func (session *DSLSession) Context() *commands.ExecContext
func (*DSLSession) Execute ¶
func (session *DSLSession) Execute(line string) error
func (*DSLSession) ExecuteFile ¶
func (session *DSLSession) ExecuteFile(path string) error
Click to show internal directories.
Click to hide internal directories.