Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artisan ¶
type Artisan interface { //Register commands. Register(commands []Command) //Call Run an Artisan console command by name. Call(command string) //CallAndExit Run an Artisan console command by name and exit. CallAndExit(command string) //Run a command. args include: ["./main", "artisan", "command"] Run(args []string, exitIfArtisan bool) }
type Context ¶
type Context interface { Argument(index int) string Arguments() []string Option(key string) string OptionSlice(key string) []string OptionBool(key string) bool OptionFloat64(key string) float64 OptionFloat64Slice(key string) []float64 OptionInt(key string) int OptionIntSlice(key string) []int OptionInt64(key string) int64 OptionInt64Slice(key string) []int64 }
Click to show internal directories.
Click to hide internal directories.