commands

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDoctorCmd

func NewDoctorCmd() *cobra.Command

NewDoctorCmd creates the 'doctor' command for checking project health

func NewGenerateCmd

func NewGenerateCmd() *cobra.Command

NewGenerateCmd creates the 'generate' command for code generation

func NewProjectCmd

func NewProjectCmd() *cobra.Command

NewProjectCmd creates the 'new' command for generating new projects

func NewStartAppCmd

func NewStartAppCmd() *cobra.Command

NewStartAppCmd creates the 'startapp' command for generating new apps

func NewVersionCmd

func NewVersionCmd(version, commit, date string) *cobra.Command

NewVersionCmd creates the 'version' command

Types

type CheckFunc

type CheckFunc func() bool

CheckFunc represents a health check function

type ProjectConfig

type ProjectConfig struct {
	Name        string
	Module      string
	Directory   string
	GoVersion   string
	Frontend    string
	Database    string
	Features    []string
	Interactive bool
}

ProjectConfig holds configuration for new project generation

type VersionInfo

type VersionInfo struct {
	Version string
	Commit  string
	Date    string
}

VersionInfo holds build-time version information

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL