console

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCli added in v1.0.0

func NewCli() console.Artisan

Types

type Application

type Application struct {
}

func (*Application) Init

func (app *Application) Init() console.Artisan

type Cli added in v1.0.0

type Cli struct {
	// contains filtered or unexported fields
}

func (*Cli) Call added in v1.0.0

func (c *Cli) Call(command string)

Call Run an Artisan console command by name.

func (*Cli) CallAndExit added in v1.0.0

func (c *Cli) CallAndExit(command string)

CallAndExit Run an Artisan console command by name and exit.

func (*Cli) Register added in v1.0.0

func (c *Cli) Register(commands []console.Command)

func (*Cli) Run added in v1.0.0

func (c *Cli) 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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL