commands

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 24 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 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 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 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 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 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 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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