Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶ added in v1.8.1
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) Call ¶ added in v0.1.0
func (c *Application) Call(command string)
Call Run an Artisan console command by name.
func (*Application) CallAndExit ¶ added in v0.4.1
func (c *Application) CallAndExit(command string)
CallAndExit Run an Artisan console command by name and exit.
func (*Application) Register ¶
func (c *Application) Register(commands []console.Command)
func (*Application) Run ¶ added in v0.1.2
func (c *Application) Run(args []string, exitIfArtisan bool)
Run a command. Args come from os.Args.
type CliContext ¶ added in v1.0.0
type CliContext struct {
// contains filtered or unexported fields
}
func (*CliContext) Argument ¶ added in v1.0.0
func (r *CliContext) Argument(index int) string
func (*CliContext) Arguments ¶ added in v1.0.0
func (r *CliContext) Arguments() []string
func (*CliContext) Option ¶ added in v1.0.0
func (r *CliContext) Option(key string) string
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.