cmd

package
v1.6.1 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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const InitCommandDescription = "initializes a driver for a given language and OS"
View Source
const PrepareBuildCommandDescription = "installs locally the build system for a driver"
View Source
const UpdateCommandDescription = "updates an already initialized driver"

Variables

This section is empty.

Functions

This section is empty.

Types

type InitCommand

type InitCommand struct {
	Args struct {
		Language string `positional-arg-name:"language"  description:"target language of the driver"`
		OS       string `positional-arg-name:"os" description:"distribution used to run the runtime. (Values: alpine or debian)"`
	} `positional-args:"yes"`

	UpdateCommand
}

func (*InitCommand) Execute

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

type PrepareBuildCommand

type PrepareBuildCommand struct {
	cli.Command
}

func (*PrepareBuildCommand) Execute

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

type UpdateCommand

type UpdateCommand struct {
	DryRun bool `long:"dry-run" description:"don't writes nothing just checks if something should be written"`

	cli.Command
	// contains filtered or unexported fields
}

func (*UpdateCommand) Execute

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

Jump to

Keyboard shortcuts

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