Versions in this module Expand all Collapse all v0 v0.8.0 Oct 1, 2026 v0.6.0 Sep 30, 2026 Changes in this version + func DocsURL(name string) string + type Example struct + Code string + Desc string + type Flag struct + Arg string + Desc string + Long string + Short string + type Help struct + Desc string + Examples []Example + Flags []Flag + Name string + Params []Param + Types []string + Usage string + func ParseHelp(md string) (Help, bool) + func (h Help) Brief() string + func (h Help) Flag(w string) (Flag, bool) + func (h Help) Signature() string + func (h Help) Summary() string + type Hover struct + From int + Text string + To int + func HoverAt(ctx context.Context, r Runner, script string, offset int) (Hover, bool, error) + func ParseHover(out []byte) (Hover, bool, error) + type Param struct + Desc string + Name string + Type string v0.5.0 Sep 30, 2026 Changes in this version + func ExecVars(ctx context.Context, r Runner, job Job, timeout time.Duration, maxBytes int) ([]byte, map[string][]byte, error) + func Stream(ctx context.Context, r Runner, job Job, w io.Writer) error + func StreamScript(job Job, names []string) string type Job + Vars []string v0.4.0 Sep 29, 2026 v0.3.0 Sep 29, 2026 Changes in this version + const MinVersion + var ErrMissing = errors.New("nu isn't installed or isn't on your PATH: see docs/nushell/notebooks.md") + var ErrOld = errors.New("nu is too old to ask about pipelines") + var ErrTooLarge = errors.New("the output is too large to keep") + func AtLeast(v, oldest string) bool + func Commands(ctx context.Context, r Runner, timeout time.Duration) ([]string, error) + func Complete(ctx context.Context, r Runner, script string, offset int) ([]string, error) + func Exec(ctx context.Context, r Runner, job Job, timeout time.Duration, maxBytes int) ([]byte, error) + func Message(stderr string, err error) string + func ParseComplete(out []byte) ([]string, error) + func Script(job Job, names []string) string + func Version(ctx context.Context, r Runner) (string, error) + type Error struct + Msg string + Stderr string + func (e *Error) Error() string + func (e *Error) Help() string + type Job struct + Command string + Config bool + IDE []string + Tables map[string][]byte + type Nu struct + Path string + func (n Nu) Run(ctx context.Context, job Job, script string, stdout io.Writer) error + type Problem struct + From int + Msg string + Severity string + To int + func Check(ctx context.Context, r Runner, script string, limit int) ([]Problem, error) + func ParseCheck(out []byte) ([]Problem, error) + type Runner interface + Run func(ctx context.Context, job Job, script string, stdout io.Writer) error + type Shape struct + From int + Shape string + To int + func AST(ctx context.Context, r Runner, script string) ([]Shape, error) + func ParseAST(out []byte) ([]Shape, error)