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)
// Unregister command
Unregister(command string)
// 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 Command ¶
type Command interface {
// Signature The name and signature of the console command.
Signature() string
// Description The console command description.
Description() string
// Extend The console command extend.
Extend() command.Extend
// Handle Execute the console command.
Handle(ctx Context) error
}
Click to show internal directories.
Click to hide internal directories.