Documentation
¶
Overview ¶
Package cmd provides the command-line interface for the application, including the root command and its associated subcommands.
Package cmd provides the command-line interface for the application, including the root command and its associated subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately.
func GenerateCommand ¶
GenerateCommand represents the generate command
func RootCommand ¶
RootCommand represents the base command when called without any subcommands
func VersionCommand ¶
VersionCommand represents the version command
Types ¶
type BuildInfo ¶
type BuildInfo struct { Version string Commit string CommitTime string GoVersion string Goos string Goarch string Modified bool }
BuildInfo holds information about the build, including the version, commit hash, and the time when the build was created.
func CreateBuildInfo ¶
func CreateBuildInfo() BuildInfo
CreateBuildInfo retrieves build information, such as Version, CommitHash, goVersion, Goos, Goarch
Source Files
¶
- generate.go
- generateAnimations.go
- generateBaseScene.go
- generateCamera.go
- generateCharacterGo.go
- generateCharacterUpdate.go
- generateDirection.go
- generateDraw.go
- generateEmbed.go
- generateEntity.go
- generateEntityDraw.go
- generateGame.go
- generateHelper.go
- generateMain.go
- generatePlayerStruct.go
- generatePlayerUpdate.go
- generateScene.go
- generateScenes.go
- generateSettings.go
- generateState.go
- generateUpdate.go
- git.go
- root.go
- version.go