Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitCmd = &cobra.Command{
Use: "init",
Short: "Initialize project configuration",
Long: `Create a .aw.yaml configuration file in the current directory.
This file stores project-level defaults so you don't have to specify
them on every command.`,
RunE: runInit,
}
InitCmd creates a project configuration file
Functions ¶
func FindProjectConfig ¶
FindProjectConfig searches for .aw.yaml in the current and parent directories
Types ¶
type ProjectConfig ¶
type ProjectConfig struct {
Project string `yaml:"project" json:"project"`
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
Output string `yaml:"output,omitempty" json:"output,omitempty"`
}
ProjectConfig represents a project-level configuration file
Click to show internal directories.
Click to hide internal directories.