Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitCmd = &cobra.Command{
Use: "init",
Short: "Initialize project configuration",
Long: `Create a .gpc.yaml configuration file in the current directory.
This file stores project-level defaults (package name, default track,
output format) so you don't need to pass them as flags every time.
The CLI automatically detects .gpc.yaml in the current directory
or any parent directory.`,
RunE: runInit,
}
InitCmd initializes a project configuration file
Functions ¶
func FindProjectConfig ¶
FindProjectConfig walks up from dir to find .gpc.yaml
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.