Help us shape the future of Go! Take the 2026 Go Developer Survey

console

package
v1.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactoryMakeCommand

type FactoryMakeCommand struct {
}

func NewFactoryMakeCommand

func NewFactoryMakeCommand() *FactoryMakeCommand

func (*FactoryMakeCommand) Description

func (r *FactoryMakeCommand) Description() string

Description The console command description.

func (*FactoryMakeCommand) Extend

func (r *FactoryMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*FactoryMakeCommand) Handle

func (r *FactoryMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*FactoryMakeCommand) Signature

func (r *FactoryMakeCommand) Signature() string

Signature The name and signature of the console command.

type ModelMakeCommand

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

func NewModelMakeCommand

func NewModelMakeCommand(artisan console.Artisan, schema schema.Schema) *ModelMakeCommand

func (*ModelMakeCommand) Description

func (r *ModelMakeCommand) Description() string

func (*ModelMakeCommand) Extend

func (r *ModelMakeCommand) Extend() command.Extend

func (*ModelMakeCommand) Handle

func (r *ModelMakeCommand) Handle(ctx console.Context) error

func (*ModelMakeCommand) Signature

func (r *ModelMakeCommand) Signature() string

type ObserverMakeCommand

type ObserverMakeCommand struct {
}

func NewObserverMakeCommand

func NewObserverMakeCommand() *ObserverMakeCommand

func (*ObserverMakeCommand) Description

func (r *ObserverMakeCommand) Description() string

Description The console command description.

func (*ObserverMakeCommand) Extend

func (r *ObserverMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*ObserverMakeCommand) Handle

func (r *ObserverMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*ObserverMakeCommand) Signature

func (r *ObserverMakeCommand) Signature() string

Signature The name and signature of the console command.

type SeedCommand

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

func NewSeedCommand

func NewSeedCommand(config config.Config, seeder contractsseeder.Facade) *SeedCommand

func (*SeedCommand) ConfirmToProceed

func (r *SeedCommand) ConfirmToProceed(force bool) error

ConfirmToProceed determines if the command should proceed based on user confirmation.

func (*SeedCommand) Description

func (r *SeedCommand) Description() string

Description The console command description.

func (*SeedCommand) Extend

func (r *SeedCommand) Extend() command.Extend

Extend The console command extend.

func (*SeedCommand) GetSeeders

func (r *SeedCommand) GetSeeders(names []string) ([]contractsseeder.Seeder, error)

GetSeeders returns a seeder instances

func (*SeedCommand) Handle

func (r *SeedCommand) Handle(ctx console.Context) error

Handle executes the console command.

func (*SeedCommand) Signature

func (r *SeedCommand) Signature() string

Signature The name and signature of the console command.

type SeederMakeCommand

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

func NewSeederMakeCommand

func NewSeederMakeCommand(app foundation.Application) *SeederMakeCommand

func (*SeederMakeCommand) Description

func (r *SeederMakeCommand) Description() string

Description The console command description.

func (*SeederMakeCommand) Extend

func (r *SeederMakeCommand) Extend() command.Extend

Extend The console command extend.

func (*SeederMakeCommand) Handle

func (r *SeederMakeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*SeederMakeCommand) Signature

func (r *SeederMakeCommand) Signature() string

Signature The name and signature of the console command.

type ShowCommand

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

func NewShowCommand

func NewShowCommand(config config.Config, schema schema.Schema) *ShowCommand

func (*ShowCommand) Description

func (r *ShowCommand) Description() string

Description The console command description.

func (*ShowCommand) Extend

func (r *ShowCommand) Extend() command.Extend

Extend The console command extend.

func (*ShowCommand) Handle

func (r *ShowCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*ShowCommand) Signature

func (r *ShowCommand) Signature() string

Signature The name and signature of the console command.

type Stubs

type Stubs struct {
}

func (Stubs) Factory

func (r Stubs) Factory() string

func (Stubs) Model

func (r Stubs) Model() string

func (Stubs) Observer

func (r Stubs) Observer() string

func (Stubs) Seeder

func (r Stubs) Seeder() string

type TableCommand

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

func NewTableCommand

func NewTableCommand(config config.Config, schema schema.Schema) *TableCommand

func (*TableCommand) Description

func (r *TableCommand) Description() string

Description The console command description.

func (*TableCommand) Extend

func (r *TableCommand) Extend() command.Extend

Extend The console command extend.

func (*TableCommand) Handle

func (r *TableCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*TableCommand) Signature

func (r *TableCommand) Signature() string

Signature The name and signature of the console command.

type WipeCommand

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

func NewWipeCommand

func NewWipeCommand(config config.Config, schema schema.Schema) *WipeCommand

func (*WipeCommand) Description

func (r *WipeCommand) Description() string

Description The console command description.

func (*WipeCommand) Extend

func (r *WipeCommand) Extend() command.Extend

Extend The console command extend.

func (*WipeCommand) Handle

func (r *WipeCommand) Handle(ctx console.Context) error

Handle Execute the console command.

func (*WipeCommand) Signature

func (r *WipeCommand) Signature() string

Signature The name and signature of the console command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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