Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { Argument(index int) string Arguments() []string Option(name string) any PathOption(name string) string TimeOption(name string) *time.Time DurationOption(name string) time.Duration StringOption(name string) string StringSliceOption(name string) []string IntSliceOption(name string) []int Int64Option(name string) int64 Uint64Option(name string) uint64 IntOption(name string) int BoolOption(name string) bool UintOption(name string) uint Float64Option(name string) float64 Float64SliceOption(name string) []float64 NumOptions() int HasOption(name string) bool }
type IArtisan ¶
type IArtisan interface { //Register commands. Register(commands []ICommand) //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) }
Click to show internal directories.
Click to hide internal directories.