Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
Build *CommandBuild `command:"build"`
VirtualEnv *CommandVirtualEnv `command:"virtualenv"`
}
Command represents the root subcommand.
type CommandBuild ¶
type CommandBuild struct {
Pkg string `long:"pkg"`
Name string `long:"name"`
OS string `long:"os"`
Arch string `long:"arch"`
Out string `long:"out"`
PkgDir string `long:"pkg_dir"`
Srcs string `long:"srcs"`
VarFiles []string `long:"var_files"`
Modules []string `long:"modules"`
ModuleOpts *module.Opts
}
CommandBuild represents the build subcommand.
func (*CommandBuild) Execute ¶
func (c *CommandBuild) Execute(args []string) error
Execute executes the build subcommand.
type CommandVirtualEnv ¶
type CommandVirtualEnv struct {
TerraformBinary string `long:"terraform_binary"`
OS string `long:"os"`
Arch string `long:"arch"`
RootModule string `long:"root_module"`
VirtualEnvBaseDir string `long:"virtual_env_base_dir" default:"./plz-out/terraform/venvs"`
PleaseOpts *please.Opts
}
CommandVirtualEnv represents the virtualenv subcommand.
func (*CommandVirtualEnv) Execute ¶
func (c *CommandVirtualEnv) Execute(args []string) error
Execute executes the virtualenv subcommand.
Click to show internal directories.
Click to hide internal directories.