Documentation
¶
Overview ¶
internal/cli/build.go
internal/cli/dev.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommand ¶
func DevCommand ¶
func NewApp ¶
NewApp creates and returns a new cli.App instance configured for the gopostulate framework. This function sets up the entire command-line interface for the framework, including all available commands, global flags, and application metadata.
The returned cli.App is the entry point for all CLI interactions with the gopostulate framework. It includes commands for creating new projects, running the development server, and building projects for production.
Usage:
app := cli.NewApp() err := app.Run(os.Args)
The app can be further customized before running, if necessary.
func NewCommand ¶
NewCommand creates and returns a new CLI command for creating a new gopostulate project. The command accepts a single flag, --name (or -n), which specifies the name of the new project. When the command is executed, it creates a new directory with the specified project name and copies the project template files into the new directory.
Types ¶
This section is empty.