console

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactoryMakeCommand added in v1.13.0

type FactoryMakeCommand struct {
}

func NewFactoryMakeCommand added in v1.13.0

func NewFactoryMakeCommand() *FactoryMakeCommand

func (*FactoryMakeCommand) Description added in v1.13.0

func (receiver *FactoryMakeCommand) Description() string

Description The console command description.

func (*FactoryMakeCommand) Extend added in v1.13.0

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

Extend The console command extend.

func (*FactoryMakeCommand) Handle added in v1.13.0

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

Handle Execute the console command.

func (*FactoryMakeCommand) Signature added in v1.13.0

func (receiver *FactoryMakeCommand) Signature() string

Signature The name and signature of the console command.

type ModelMakeCommand added in v1.9.0

type ModelMakeCommand struct {
}

func NewModelMakeCommand added in v1.12.0

func NewModelMakeCommand() *ModelMakeCommand

func (*ModelMakeCommand) Description added in v1.9.0

func (receiver *ModelMakeCommand) Description() string

Description The console command description.

func (*ModelMakeCommand) Extend added in v1.9.0

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

Extend The console command extend.

func (*ModelMakeCommand) Handle added in v1.9.0

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

Handle Execute the console command.

func (*ModelMakeCommand) Signature added in v1.9.0

func (receiver *ModelMakeCommand) Signature() string

Signature The name and signature of the console command.

type ObserverMakeCommand added in v1.11.0

type ObserverMakeCommand struct {
}

func NewObserverMakeCommand added in v1.12.0

func NewObserverMakeCommand() *ObserverMakeCommand

func (*ObserverMakeCommand) Description added in v1.11.0

func (receiver *ObserverMakeCommand) Description() string

Description The console command description.

func (*ObserverMakeCommand) Extend added in v1.11.0

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

Extend The console command extend.

func (*ObserverMakeCommand) Handle added in v1.11.0

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

Handle Execute the console command.

func (*ObserverMakeCommand) Signature added in v1.11.0

func (receiver *ObserverMakeCommand) Signature() string

Signature The name and signature of the console command.

type SeedCommand added in v1.12.6

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

func NewSeedCommand added in v1.12.6

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

func (*SeedCommand) ConfirmToProceed added in v1.12.6

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

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

func (*SeedCommand) Description added in v1.12.6

func (r *SeedCommand) Description() string

Description The console command description.

func (*SeedCommand) Extend added in v1.12.6

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

Extend The console command extend.

func (*SeedCommand) GetSeeders added in v1.12.6

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

GetSeeders returns a seeder instances

func (*SeedCommand) Handle added in v1.12.6

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

Handle executes the console command.

func (*SeedCommand) Signature added in v1.12.6

func (r *SeedCommand) Signature() string

Signature The name and signature of the console command.

type SeederMakeCommand added in v1.12.6

type SeederMakeCommand struct {
}

func NewSeederMakeCommand added in v1.12.6

func NewSeederMakeCommand() *SeederMakeCommand

func (*SeederMakeCommand) Description added in v1.12.6

func (receiver *SeederMakeCommand) Description() string

Description The console command description.

func (*SeederMakeCommand) Extend added in v1.12.6

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

Extend The console command extend.

func (*SeederMakeCommand) Handle added in v1.12.6

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

Handle Execute the console command.

func (*SeederMakeCommand) Signature added in v1.12.6

func (receiver *SeederMakeCommand) Signature() string

Signature The name and signature of the console command.

type ShowCommand added in v1.15.0

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

func NewShowCommand added in v1.15.0

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

func (*ShowCommand) Description added in v1.15.0

func (r *ShowCommand) Description() string

Description The console command description.

func (*ShowCommand) Extend added in v1.15.0

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

Extend The console command extend.

func (*ShowCommand) Handle added in v1.15.0

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

Handle Execute the console command.

func (*ShowCommand) Signature added in v1.15.0

func (r *ShowCommand) Signature() string

Signature The name and signature of the console command.

type Stubs added in v1.9.0

type Stubs struct {
}

func (Stubs) Factory added in v1.13.0

func (r Stubs) Factory() string

func (Stubs) Model added in v1.9.0

func (r Stubs) Model() string

func (Stubs) Observer added in v1.11.0

func (r Stubs) Observer() string

func (Stubs) Seeder added in v1.12.6

func (r Stubs) Seeder() string

type TableCommand added in v1.15.0

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

func NewTableCommand added in v1.15.0

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

func (*TableCommand) Description added in v1.15.0

func (r *TableCommand) Description() string

Description The console command description.

func (*TableCommand) Extend added in v1.15.0

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

Extend The console command extend.

func (*TableCommand) Handle added in v1.15.0

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

Handle Execute the console command.

func (*TableCommand) Signature added in v1.15.0

func (r *TableCommand) Signature() string

Signature The name and signature of the console command.

type WipeCommand added in v1.15.0

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

func NewWipeCommand added in v1.15.0

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

func (*WipeCommand) Description added in v1.15.0

func (r *WipeCommand) Description() string

Description The console command description.

func (*WipeCommand) Extend added in v1.15.0

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

Extend The console command extend.

func (*WipeCommand) Handle added in v1.15.0

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

Handle Execute the console command.

func (*WipeCommand) Signature added in v1.15.0

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