Documentation
¶
Index ¶
- Variables
- func BuildVersionString() string
- func NewBuildCmd(parent *flag.FlagSet) (*buildCmd, error)
- func NewDemoCmd(parent *flag.FlagSet) (*demoCmd, error)
- func NewLoadCmd(parent *flag.FlagSet) (*loadCmd, error)
- func NewServeCmd(parent *flag.FlagSet) (*serverCmd, error)
- func NewStaticCmd(parent *flag.FlagSet) (*staticCmd, error)
- func NewVersionCmd(parent *flag.FlagSet) (*versionCmd, error)
- type Command
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentVersion = Version{
Major: 0,
Minor: 2,
PatchLevel: 2,
Suffix: "",
}
Functions ¶
func BuildVersionString ¶
func BuildVersionString() string
func NewBuildCmd ¶
func NewDemoCmd ¶
func NewLoadCmd ¶
func NewServeCmd ¶
func NewStaticCmd ¶
func NewVersionCmd ¶
Types ¶
type Command ¶ added in v0.1.24
type Command interface {
// Name returns the name of the command
Name() string
// Description returns the description of the command
Description() string
// Run executes the command
Run() error
}
Command represents a CLI command
func GetCommands ¶ added in v0.1.24
func GetCommands() []Command
GetCommands returns all available commands
Source Files
¶
Click to show internal directories.
Click to hide internal directories.