cmd

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IntegrationPackage     = "gopkg.in/bblfsh/sdk.v1/sdk/driver/integration"
	TestCommandDescription = "" +
		"test runs all the integration tests for a given driver"
)
View Source
const BuildCommandDescription = "" +
	"updates the manifest with the build information"
View Source
const EnvVarsCommandDescription = "" +
	"prints the manifest as a list of variables ready to be evaluated by bash or make"
View Source
const FixturesCommandDescription = "" +
	"Generate integration tests' '.native' and '.uast' fixtures from source files"

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildCommand added in v1.1.0

type BuildCommand struct {
	Args struct {
		Version string `positional-arg-name:"version" description:"version been build"`
	} `positional-args:"yes"`

	Output string `long:"output" description:"file to be written."`
	// contains filtered or unexported fields
}

func (*BuildCommand) Execute added in v1.1.0

func (c *BuildCommand) Execute(args []string) error

type EnvVarsCommand added in v1.1.0

type EnvVarsCommand struct {
	// contains filtered or unexported fields
}

func (*EnvVarsCommand) Execute added in v1.1.0

func (c *EnvVarsCommand) Execute(args []string) error

type FixturesCommand added in v1.4.0

type FixturesCommand struct {
	Args struct {
		SourceFiles []string `positional-arg-name:"sourcefile(s)" required:"true" description:"File(s) with the source code"`
	} `positional-args:"yes"`
	Language  string `long:"language" short:"l" default:"" description:"Language to parse"`
	Endpoint  string `long:"endpoint" short:"e" default:"localhost:9432" description:"Endpoint of the gRPC server to use"`
	ExtNative string `long:"extnative" short:"n" default:"native" description:"File extension for native files"`
	ExtUast   string `long:"extuast" short:"u" default:"uast" description:"File extension for uast files"`
	Quiet     bool   `long:"quiet" short:"q" description:"Don't print any output"`
	// contains filtered or unexported fields
}

func (*FixturesCommand) Execute added in v1.4.0

func (c *FixturesCommand) Execute(args []string) error

type TestCommand added in v1.1.0

type TestCommand struct {
	Endpoint string `long:"endpoint" default:"localhost:9432" description:"grpc endpoint to run the test against."`
	// contains filtered or unexported fields
}

func (*TestCommand) Execute added in v1.1.0

func (c *TestCommand) Execute(args []string) error

Jump to

Keyboard shortcuts

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