make

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdBiz

func NewCmdBiz() *cobra.Command

NewCmdBiz returns new initialized instance of 'biz' sub command.

func NewCmdCMD

func NewCmdCMD() *cobra.Command

NewCmdCMD returns new initialized instance of 'cmd' sub command.

func NewCmdController

func NewCmdController() *cobra.Command

NewCmdController returns new initialized instance of 'controller' sub command.

func NewCmdCrud

func NewCmdCrud() *cobra.Command

NewCmdCrud returns new initialized instance of 'crud' sub command.

func NewCmdJob added in v0.1.8

func NewCmdJob() *cobra.Command

NewCmdJob returns new initialized instance of 'job' sub command.

func NewCmdMake

func NewCmdMake() *cobra.Command

NewCmdMake returns new initialized instance of 'new' sub command.

func NewCmdMiddleware

func NewCmdMiddleware() *cobra.Command

NewCmdMiddleware returns new initialized instance of 'middleware' sub command.

func NewCmdMigration added in v1.2.0

func NewCmdMigration() *cobra.Command

NewCmdMigration returns new initialized instance of 'migration' sub command.

func NewCmdModel

func NewCmdModel() *cobra.Command

NewCmdModel returns new initialized instance of 'model' sub command.

func NewCmdRequest

func NewCmdRequest() *cobra.Command

NewCmdRequest returns new initialized instance of 'request' sub command.

func NewCmdSeeder added in v1.2.4

func NewCmdSeeder() *cobra.Command

NewCmdSeeder returns new initialized instance of 'seeder' sub command.

func NewCmdStore

func NewCmdStore() *cobra.Command

NewCmdStore returns new initialized instance of 'store' sub command.

func NewOptions

func NewOptions() *generator.Options

NewOptions returns an initialized CmdOptions instance.

Types

type BizOptions

type BizOptions struct {
	*generator.Options
}

BizOptions is an option struct to support 'biz' sub command.

func NewBizOptions

func NewBizOptions() *BizOptions

NewBizOptions returns an initialized BizOptions instance.

func (*BizOptions) Complete

func (o *BizOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*BizOptions) Run

func (o *BizOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*BizOptions) Validate

func (o *BizOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type CmdOptions

type CmdOptions struct {
	*generator.Options
}

CmdOptions is an option struct to support 'cmd' sub command.

func NewCmdOptions

func NewCmdOptions() *CmdOptions

NewCmdOptions returns an initialized CmdOptions instance.

func (*CmdOptions) Complete

func (o *CmdOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*CmdOptions) Run

func (o *CmdOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*CmdOptions) Validate

func (o *CmdOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type ControllerOptions

type ControllerOptions struct {
	*generator.Options
}

ControllerOptions is an option struct to support 'controller' sub command.

func NewControllerOptions

func NewControllerOptions() *ControllerOptions

NewControllerOptions returns an initialized ControllerOptions instance.

func (*ControllerOptions) Complete

func (o *ControllerOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*ControllerOptions) Run

func (o *ControllerOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*ControllerOptions) Validate

func (o *ControllerOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type CrudOptions

type CrudOptions struct {
	*generator.Options
}

CrudOptions is an option struct to support 'crud' sub command.

func NewCrudOptions

func NewCrudOptions() *CrudOptions

NewCrudOptions returns an initialized CrudOptions instance.

func (*CrudOptions) Complete

func (o *CrudOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*CrudOptions) Run

func (o *CrudOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*CrudOptions) Validate

func (o *CrudOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type JobOptions added in v0.1.8

type JobOptions struct {
	*generator.Options
}

JobOptions is an option struct to support 'job' sub command.

func NewJobOptions added in v0.1.8

func NewJobOptions() *JobOptions

NewJobOptions returns an initialized JobOptions instance.

func (*JobOptions) Complete added in v0.1.8

func (o *JobOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*JobOptions) Run added in v0.1.8

func (o *JobOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*JobOptions) Validate added in v0.1.8

func (o *JobOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type MiddlewareOptions

type MiddlewareOptions struct {
	*generator.Options
}

MiddlewareOptions is an option struct to support 'middleware' sub command.

func NewMiddlewareOptions

func NewMiddlewareOptions() *MiddlewareOptions

NewMiddlewareOptions returns an initialized MiddlewareOptions instance.

func (*MiddlewareOptions) Complete

func (o *MiddlewareOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*MiddlewareOptions) Run

func (o *MiddlewareOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*MiddlewareOptions) Validate

func (o *MiddlewareOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type MigrationOptions added in v1.2.0

type MigrationOptions struct {
	*generator.Options
}

MigrationOptions is an option struct to support 'migration' sub command.

func NewMigrationOptions added in v1.2.0

func NewMigrationOptions() *MigrationOptions

NewMigrationOptions returns an initialized MigrationOptions instance.

func (*MigrationOptions) Complete added in v1.2.0

func (o *MigrationOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*MigrationOptions) Run added in v1.2.0

func (o *MigrationOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*MigrationOptions) Validate added in v1.2.0

func (o *MigrationOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type ModelOptions

type ModelOptions struct {
	*generator.Options
}

ModelOptions is an option struct to support 'model' sub command.

func NewModelOptions

func NewModelOptions() *ModelOptions

NewModelOptions returns an initialized ModelOptions instance.

func (*ModelOptions) Complete

func (o *ModelOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*ModelOptions) Run

func (o *ModelOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*ModelOptions) Validate

func (o *ModelOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type RequestOptions

type RequestOptions struct {
	*generator.Options
}

RequestOptions is an option struct to support 'request' sub command.

func NewRequestOptions

func NewRequestOptions() *RequestOptions

NewRequestOptions returns an initialized RequestOptions instance.

func (*RequestOptions) Complete

func (o *RequestOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*RequestOptions) Run

func (o *RequestOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*RequestOptions) Validate

func (o *RequestOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type SeedOptions added in v1.2.4

type SeedOptions struct {
	*generator.Options
}

SeedOptions is an option struct to support 'seeder' sub command.

func NewSeederOptions added in v1.2.4

func NewSeederOptions() *SeedOptions

NewSeederOptions returns an initialized SeedOptions instance.

func (*SeedOptions) Complete added in v1.2.4

func (o *SeedOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*SeedOptions) Run added in v1.2.4

func (o *SeedOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*SeedOptions) Validate added in v1.2.4

func (o *SeedOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

type StoreOptions

type StoreOptions struct {
	*generator.Options
}

StoreOptions is an option struct to support 'store' sub command.

func NewStoreOptions

func NewStoreOptions() *StoreOptions

NewStoreOptions returns an initialized StoreOptions instance.

func (*StoreOptions) Complete

func (o *StoreOptions) Complete(cmd *cobra.Command, args []string) error

Complete completes all the required options.

func (*StoreOptions) Run

func (o *StoreOptions) Run(args []string) error

Run executes a new sub command using the specified options.

func (*StoreOptions) Validate

func (o *StoreOptions) Validate(cmd *cobra.Command, args []string) error

Validate makes sure there is no discrepancy in command options.

Jump to

Keyboard shortcuts

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