instance

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommandBuilders

func AddCommandBuilders(fns ...func() *cobra.Command)

func AddCommands

func AddCommands(cmds ...*cobra.Command)

func AppName

func AppName() string

AppName is what the app will call itself. When customizing, overwrite it before calling Main().

func Commands

func Commands() []*cobra.Command

Commands gets a list of additional commands to add to the fastcat.org/go/gdev/cmd/Root command during app startup.

This will panic if called during the customization phase before the main app startup.

To add custom commands, use AddCommandBuilders or AddCommands

func SetAppName

func SetAppName(name string)

func Version

func Version() string

func VersionInfo

func VersionInfo() versionInfo

Types

This section is empty.

Jump to

Keyboard shortcuts

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