Versions in this module Expand all Collapse all v0 v0.4.0 Mar 4, 2022 Changes in this version + func App() *cli.App + func Context() context.Context + func Format(ctx context.Context, rs []io.Reader, info FormatInfo) error + func GetURI(c *cli.Context) (uri string, err error) + func Lint(ctx context.Context, cln *client.Client, uri string, info LintInfo) error + func ParseModuleURI(ctx context.Context, cln *client.Client, stdin io.Reader, uri string) (*ast.Module, error) + func Run(ctx context.Context, cln *client.Client, uri string, info RunInfo) (err error) + func Tree(ctx context.Context, cln *client.Client, uri string, info TreeInfo) (err error) + func Vendor(ctx context.Context, cln *client.Client, uri string, info VendorInfo) (err error) + type ControlDebugger func(context.Context, codegen.Debugger) error + func ControlDebuggerTUI(stdin io.Reader, stdout, stderr io.Writer) ControlDebugger + type FormatInfo struct + Write bool + type LintInfo struct + Fix bool + Stderr io.Writer + Stdin io.Reader + type RunInfo struct + Arch string + Backtrace bool + ControlDebugger ControlDebugger + Cwd string + DAP bool + Debug bool + DefaultPlatform string + Environ []string + LLB bool + LogOutput string + Os string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + Targets []string + Tree bool + type TreeInfo struct + Long bool + Stderr io.Writer + Stdin io.Reader + type VendorInfo struct + Stderr io.Writer + Stdin io.Reader + Targets []string + Tidy bool