commands

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

gen for home toolset

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(commandName string, params []string)

func GetAllProvider

func GetAllProvider() []interface{}

func GetBrackets

func GetBrackets(str string, start, end int32) (int, int)

func PrintCmd

func PrintCmd(commandName string, params []string)

func ProtocCmd added in v0.2.9

func ProtocCmd(params []string)

func SetEnv

func SetEnv(fileContext []byte) []byte

SetEnv 对字符串内容进行替换环境变量

func SetRootPath

func SetRootPath(root string)

Types

type ApiGroups

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

type BeanCommand

type BeanCommand struct{}

BeanCommand @Bean

func NewBeanCommand

func NewBeanCommand() *BeanCommand

func (BeanCommand) Configure

func (BeanCommand) Configure() command.Configure

func (BeanCommand) Execute

func (BeanCommand) Execute(input command.Input)

type Controller

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

type CurdCommand added in v0.1.8

type CurdCommand struct{}

CurdCommand @Bean

func NewCurdCommand added in v0.1.8

func NewCurdCommand() *CurdCommand

func (CurdCommand) Configure added in v0.1.8

func (CurdCommand) Configure() command.Configure

func (CurdCommand) Execute added in v0.1.8

func (CurdCommand) Execute(input command.Input)

type DevCommand

type DevCommand struct{}

DevCommand @Bean

func NewDevCommand

func NewDevCommand() *DevCommand

func (DevCommand) Configure

func (DevCommand) Configure() command.Configure

func (DevCommand) Execute

func (DevCommand) Execute(input command.Input)

type GrpcCommand added in v0.4.0

type GrpcCommand struct{}

GrpcCommand @Bean

func NewGrpcCommand added in v0.4.0

func NewGrpcCommand() *GrpcCommand

func (GrpcCommand) Configure added in v0.4.0

func (GrpcCommand) Configure() command.Configure

func (GrpcCommand) Execute added in v0.4.0

func (GrpcCommand) Execute(input command.Input)

TODO

type Js added in v0.0.2

type Js struct{}

Js @Bean

func NewJs added in v0.0.2

func NewJs() *Js

func (*Js) Configure added in v0.0.2

func (j *Js) Configure() command.Configure

func (*Js) Execute added in v0.0.2

func (j *Js) Execute(input command.Input)

type MongoCommand added in v0.2.3

type MongoCommand struct{}

MongoCommand @Bean

func NewMongoCommand added in v0.2.3

func NewMongoCommand() *MongoCommand

func (MongoCommand) Configure added in v0.2.3

func (MongoCommand) Configure() command.Configure

func (MongoCommand) Execute added in v0.2.3

func (MongoCommand) Execute(input command.Input)

type OrmCommand

type OrmCommand struct{}

OrmCommand @Bean

func NewOrmCommand

func NewOrmCommand() *OrmCommand

func (OrmCommand) Configure

func (OrmCommand) Configure() command.Configure

func (OrmCommand) Execute

func (OrmCommand) Execute(input command.Input)

type Param added in v0.1.8

type Param struct {
	CoonName  string
	TableName string
	Module    string
	Explain   string
	DbName    string
}

type ProtocCommand

type ProtocCommand struct{}

ProtocCommand @Bean

func NewProtocCommand

func NewProtocCommand() *ProtocCommand

func (ProtocCommand) Configure

func (ProtocCommand) Configure() command.Configure

func (ProtocCommand) Execute

func (ProtocCommand) Execute(input command.Input)

type RouteCommand

type RouteCommand struct{}

RouteCommand @Bean

func NewRouteCommand

func NewRouteCommand() *RouteCommand

func (RouteCommand) Configure

func (RouteCommand) Configure() command.Configure

func (RouteCommand) Execute

func (RouteCommand) Execute(input command.Input)

type SqliteCommand added in v0.5.8

type SqliteCommand struct{}

SqliteCommand @Bean

func NewSqliteCommand added in v0.5.8

func NewSqliteCommand() *SqliteCommand

func (SqliteCommand) Configure added in v0.5.8

func (SqliteCommand) Configure() command.Configure

func (SqliteCommand) Execute added in v0.5.8

func (SqliteCommand) Execute(input command.Input)

type SwaggerCommand

type SwaggerCommand struct{}

SwaggerCommand @Bean

func NewSwaggerCommand

func NewSwaggerCommand() *SwaggerCommand

func (SwaggerCommand) Configure

func (SwaggerCommand) Configure() command.Configure

func (SwaggerCommand) Execute

func (SwaggerCommand) Execute(input command.Input)

type TableColumn added in v0.1.8

type TableColumn struct {
	Name    string
	GoType  string
	Comment string
}

func GetTableColumn added in v0.1.8

func GetTableColumn(config map[interface{}]interface{}, tableName string) []TableColumn

type Ts added in v0.5.5

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

Ts @Bean

func NewTs added in v0.5.5

func NewTs() *Ts

func (*Ts) Configure added in v0.5.5

func (t *Ts) Configure() command.Configure

func (*Ts) Execute added in v0.5.5

func (t *Ts) Execute(input command.Input)

func (*Ts) Init added in v0.5.5

func (t *Ts) Init()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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