cmd

package module
v0.0.0-...-f359d9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: BSD-2-Clause Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoModPath

func GoModPath(dir string) (string, error)

func GoTool

func GoTool(dir string, args ...string) ([]byte, error)

func GraphSchemas

func GraphSchemas(p *bfr.P, pr *Project, ss []*dom.Schema) error

func ReplHistoryPath

func ReplHistoryPath() string

func SchemaPath

func SchemaPath(pr *Project, s *dom.Schema) string

Types

type Data

type Data struct {
	URL *url.URL
	qry.Backend
	mig.Dataset
}

func OpenData

func OpenData(pr *Project, uri string) (*Data, error)

type Project

type Project struct {
	Dir string
	Reg *lit.Reg
	mig.History
	mig.Record
}

func LoadProject

func LoadProject(dir string) (*Project, error)

func (*Project) FilterSchemas

func (pr *Project) FilterSchemas(names ...string) ([]*dom.Schema, error)

func (*Project) Status

func (pr *Project) Status(p *bfr.P)

type Repl

type Repl struct {
	Reg  *lit.Reg
	Bend qry.Backend
	*liner.State
	Hist string
}

func NewRepl

func NewRepl(reg *lit.Reg, bend qry.Backend, hist string) *Repl

func (Repl) Run

func (r Repl) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL