console

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 27 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 (receiver *FactoryMakeCommand) Description() string

Description The console command description.

func (*FactoryMakeCommand) Extend

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

Extend The console command extend.

func (*FactoryMakeCommand) Handle

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

Handle Execute the console command.

func (*FactoryMakeCommand) Signature

func (receiver *FactoryMakeCommand) Signature() string

Signature The name and signature of the console command.

type MigrateCommand

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

func NewMigrateCommand

func NewMigrateCommand(config config.Config) *MigrateCommand

func (*MigrateCommand) Description

func (receiver *MigrateCommand) Description() string

Description The console command description.

func (*MigrateCommand) Extend

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

Extend The console command extend.

func (*MigrateCommand) Handle

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

Handle Execute the console command.

func (*MigrateCommand) Signature

func (receiver *MigrateCommand) Signature() string

Signature The name and signature of the console command.

type MigrateCreator

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

func NewMigrateCreator

func NewMigrateCreator(config config.Config) *MigrateCreator

func (*MigrateCreator) Create

func (receiver *MigrateCreator) Create(name string, table string, create bool) error

Create a new migration

type MigrateFreshCommand

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

func NewMigrateFreshCommand

func NewMigrateFreshCommand(config config.Config, artisan console.Artisan) *MigrateFreshCommand

func (*MigrateFreshCommand) Description

func (receiver *MigrateFreshCommand) Description() string

Description The console command description.

func (*MigrateFreshCommand) Extend

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

Extend The console command extend.

func (*MigrateFreshCommand) Handle

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

Handle Execute the console command.

func (*MigrateFreshCommand) Signature

func (receiver *MigrateFreshCommand) Signature() string

Signature The name and signature of the console command.

type MigrateMakeCommand

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

func NewMigrateMakeCommand

func NewMigrateMakeCommand(config config.Config) *MigrateMakeCommand

func (*MigrateMakeCommand) Description

func (receiver *MigrateMakeCommand) Description() string

Description The console command description.

func (*MigrateMakeCommand) Extend

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

Extend The console command extend.

func (*MigrateMakeCommand) Handle

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

Handle Execute the console command.

func (*MigrateMakeCommand) Signature

func (receiver *MigrateMakeCommand) Signature() string

Signature The name and signature of the console command.

type MigrateRefreshCommand

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

func NewMigrateRefreshCommand

func NewMigrateRefreshCommand(config config.Config, artisan console.Artisan) *MigrateRefreshCommand

func (*MigrateRefreshCommand) Description

func (receiver *MigrateRefreshCommand) Description() string

Description The console command description.

func (*MigrateRefreshCommand) Extend

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

Extend The console command extend.

func (*MigrateRefreshCommand) Handle

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

Handle Execute the console command.

func (*MigrateRefreshCommand) Signature

func (receiver *MigrateRefreshCommand) Signature() string

Signature The name and signature of the console command.

type MigrateResetCommand

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

func NewMigrateResetCommand

func NewMigrateResetCommand(config config.Config) *MigrateResetCommand

func (*MigrateResetCommand) Description

func (receiver *MigrateResetCommand) Description() string

Description The console command description.

func (*MigrateResetCommand) Extend

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

Extend The console command extend.

func (*MigrateResetCommand) Handle

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

Handle Execute the console command.

func (*MigrateResetCommand) Signature

func (receiver *MigrateResetCommand) Signature() string

Signature The name and signature of the console command.

type MigrateRollbackCommand

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

func NewMigrateRollbackCommand

func NewMigrateRollbackCommand(config config.Config) *MigrateRollbackCommand

func (*MigrateRollbackCommand) Description

func (receiver *MigrateRollbackCommand) Description() string

Description The console command description.

func (*MigrateRollbackCommand) Extend

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

Extend The console command extend.

func (*MigrateRollbackCommand) Handle

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

Handle Execute the console command.

func (*MigrateRollbackCommand) Signature

func (receiver *MigrateRollbackCommand) Signature() string

Signature The name and signature of the console command.

type MigrateStatusCommand

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

func NewMigrateStatusCommand

func NewMigrateStatusCommand(config config.Config) *MigrateStatusCommand

func (*MigrateStatusCommand) Description

func (receiver *MigrateStatusCommand) Description() string

Description The console command description.

func (*MigrateStatusCommand) Extend

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

Extend The console command extend.

func (*MigrateStatusCommand) Handle

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

Handle Execute the console command.

func (*MigrateStatusCommand) Signature

func (receiver *MigrateStatusCommand) Signature() string

Signature The name and signature of the console command.

type ModelMakeCommand

type ModelMakeCommand struct {
}

func NewModelMakeCommand

func NewModelMakeCommand() *ModelMakeCommand

func (*ModelMakeCommand) Description

func (receiver *ModelMakeCommand) Description() string

Description The console command description.

func (*ModelMakeCommand) Extend

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

Extend The console command extend.

func (*ModelMakeCommand) Handle

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

Handle Execute the console command.

func (*ModelMakeCommand) Signature

func (receiver *ModelMakeCommand) Signature() string

Signature The name and signature of the console command.

type ObserverMakeCommand

type ObserverMakeCommand struct {
}

func NewObserverMakeCommand

func NewObserverMakeCommand() *ObserverMakeCommand

func (*ObserverMakeCommand) Description

func (receiver *ObserverMakeCommand) Description() string

Description The console command description.

func (*ObserverMakeCommand) Extend

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

Extend The console command extend.

func (*ObserverMakeCommand) Handle

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

Handle Execute the console command.

func (*ObserverMakeCommand) Signature

func (receiver *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 seeder.Facade) *SeedCommand

func (*SeedCommand) ConfirmToProceed

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

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

func (*SeedCommand) Description

func (receiver *SeedCommand) Description() string

Description The console command description.

func (*SeedCommand) Extend

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

Extend The console command extend.

func (*SeedCommand) GetSeeders

func (receiver *SeedCommand) GetSeeders(names []string) ([]seeder.Seeder, error)

GetSeeders returns a seeder instances

func (*SeedCommand) Handle

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

Handle executes the console command.

func (*SeedCommand) Signature

func (receiver *SeedCommand) Signature() string

Signature The name and signature of the console command.

type SeederMakeCommand

type SeederMakeCommand struct {
}

func NewSeederMakeCommand

func NewSeederMakeCommand() *SeederMakeCommand

func (*SeederMakeCommand) Description

func (receiver *SeederMakeCommand) Description() string

Description The console command description.

func (*SeederMakeCommand) Extend

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

Extend The console command extend.

func (*SeederMakeCommand) Handle

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

Handle Execute the console command.

func (*SeederMakeCommand) Signature

func (receiver *SeederMakeCommand) 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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