Documentation
¶
Index ¶
- func CopyEmbeddedTemplate(destDir string) error
- func Execute()
- func GenerateGoMod(destDir, moduleName string) error
- func NewCreateCommand() *cobra.Command
- func NewDoctorCommand() *cobra.Command
- func NewForgeCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func WriteProjectGitignore(destDir string) error
- type ProjectMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyEmbeddedTemplate ¶ added in v1.0.4
CopyEmbeddedTemplate creates the basic directory structure for a new Forge project.
func GenerateGoMod ¶ added in v1.0.4
GenerateGoMod creates the go.mod file for the project.
func NewCreateCommand ¶
NewCreateCommand creates the create command
func NewDoctorCommand ¶
NewDoctorCommand creates the doctor command
func NewForgeCommand ¶
NewForgeCommand creates and returns the Forge CLI root command
func NewVersionCommand ¶
NewVersionCommand creates the version command
func WriteProjectGitignore ¶ added in v1.0.4
WriteProjectGitignore writes the .gitignore file.
Types ¶
Click to show internal directories.
Click to hide internal directories.