Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildCommand ¶
type BuildCommand struct {
CompileCommand
// contains filtered or unexported fields
}
func (*BuildCommand) Action ¶
func (c *BuildCommand) Action(stdout io.Writer) error
Action executes the build command using the given stdout
func (*BuildCommand) MakeFlags ¶
func (c *BuildCommand) MakeFlags() []cli.Flag
type CommandBase ¶
type CommandBase struct {
Globals *GlobalParams
}
func Base ¶
func Base(globals *GlobalParams) CommandBase
func (*CommandBase) MakeFlags ¶
func (c *CommandBase) MakeFlags() []cli.Flag
type Commands ¶
type Commands struct {
CommandBase
Globals *GlobalParams
BuildCmd *BuildCommand
InstallCmd *InstallCommand
GenerateCmd *GenerateCommand
}
func NewCommands ¶
type CompileCommand ¶
type CompileCommand struct {
CommandBase
// Options that control generation
Imports cli.StringSlice
Replaces cli.StringSlice
Gets cli.StringSlice
USQLModule string
USQLVersion string
DbOptions cli.StringSlice
// Options that control compilation only
Static bool
NoTrimPath bool
// contains filtered or unexported fields
}
func MakeCompileCmd ¶
func MakeCompileCmd(globals *GlobalParams) CompileCommand
func (*CompileCommand) MakeFlags ¶
func (c *CompileCommand) MakeFlags() []cli.Flag
type GenerateCommand ¶
type GenerateCommand struct {
CompileCommand
// contains filtered or unexported fields
}
func (*GenerateCommand) MakeFlags ¶
func (c *GenerateCommand) MakeFlags() []cli.Flag
type GlobalParams ¶
type InstallCommand ¶
type InstallCommand struct {
CompileCommand
}
Click to show internal directories.
Click to hide internal directories.