Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDependencies ¶
func AddModuleAliases ¶
Types ¶
type ConfigAndPath ¶
type GenerateCmd ¶
type GenerateCmd struct {
Config string `arg:"" help:"The code generation configuration file" type:"existingfile" optional:""`
// contains filtered or unexported fields
}
func (*GenerateCmd) Run ¶
func (c *GenerateCmd) Run(ctx *Context) error
type InitCmd ¶ added in v0.1.3
type InitCmd struct {
Template string `arg:"" help:"The template for the project to create."`
Dir string `type:"existingdir" help:"The project directory" default:"."`
Spec string `type:"existingfile" help:"An optional specification file to copy into the project"`
Variables map[string]string `arg:"" help:"Variables to pass to the template." optional:""`
// contains filtered or unexported fields
}
type InstallCmd ¶
type InstallCmd struct {
Location string `arg:"" help:"The NPM module or Github repository of the module to install."`
Release string `arg:"" help:"The release tag to install." optional:""`
// contains filtered or unexported fields
}
func (*InstallCmd) Run ¶
func (c *InstallCmd) Run(ctx *Context) error
type NewCmd ¶
type NewCmd struct {
Template string `arg:"" help:"The template for the project to create."`
Dir string `arg:"" help:"The project directory"`
Spec string `type:"existingfile" help:"An optional specification file to copy into the project"`
Variables map[string]string `arg:"" help:"Variables to pass to the template." optional:""`
}
type Target ¶
type Target struct {
Module string `json:"module" yaml:"module"`
VisitorClass string `json:"visitorClass" yaml:"visitorClass"`
IfNotExists bool `json:"ifNotExists,omitempty" yaml:"ifNotExists,omitempty"`
Executable bool `json:"executable,omitempty" yaml:"executable,omitempty"`
Config map[string]interface{} `json:"config,omitempty" yaml:"config,omitempty"`
RunAfter []Command `json:"runAfter" yaml:"runAfter"`
}
type UpgradeCmd ¶
type UpgradeCmd struct {
}
func (*UpgradeCmd) Run ¶
func (c *UpgradeCmd) Run(ctx *Context) error
Click to show internal directories.
Click to hide internal directories.