cmd

package
v0.0.0-...-ccd8cf7 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const GinCtlGitLabPeer = "github.com/go-season/ginctl"
View Source
const SkeletonGitLabRepo = "https://github.com/go-season/gin-skeleton.git"

Variables

View Source
var (
	MergePaths       = make(map[string]map[string]map[string]interface{})
	MergeDefinitions = make(map[string]interface{})
)

Functions

func BuildRoot

func BuildRoot(f factory.Factory) *cobra.Command

func Execute

func Execute()

func NewCleanCmd

func NewCleanCmd(f factory.Factory) *cobra.Command

func NewCompletionCmd

func NewCompletionCmd() *cobra.Command

func NewCronCmd

func NewCronCmd(f factory.Factory) *cobra.Command

func NewDocCmd

func NewDocCmd(f factory.Factory) *cobra.Command

func NewGitHookCmd

func NewGitHookCmd(f factory.Factory) *cobra.Command

func NewNewCmd

func NewNewCmd(f factory.Factory) *cobra.Command

func NewRootCmd

func NewRootCmd(log log.Logger) *cobra.Command

func NewRunCmd

func NewRunCmd(f factory.Factory) *cobra.Command

func NewSDKCmd

func NewSDKCmd(f factory.Factory) *cobra.Command

func NewSelfUpdateCmd

func NewSelfUpdateCmd(f factory.Factory) *cobra.Command

func NewTagCmd

func NewTagCmd(f factory.Factory) *cobra.Command

Types

type CleanCmd

type CleanCmd struct {
	APIName string
}

func (*CleanCmd) Run

func (cmd *CleanCmd) Run(f factory.Factory, cobraCmd *cobra.Command, args []string) error

type CronCmd

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

type MergeCfg

type MergeCfg struct {
	URL   string   `yaml:"url"`
	Paths []string `yaml:"paths"`
}

type MergeCfgs

type MergeCfgs struct {
	Merge []MergeCfg `yaml:"merge"`
}

type SDKCmd

type SDKCmd struct {
	All    bool
	GoOut  string
	PHPOut string
	VueOut string
}

func (*SDKCmd) Run

func (cmd *SDKCmd) Run(f factory.Factory, cobraCmd *cobra.Command, args []string) error

type SelfUpdateCmd

type SelfUpdateCmd struct {
}

func (*SelfUpdateCmd) Run

func (cmd *SelfUpdateCmd) Run(f factory.Factory, cobraCmd *cobra.Command, args []string) error

type YapiOptions

type YapiOptions struct {
	Token  string `json:"token"`
	Merge  string `json:"merge" default:"normal"`
	Server string `json:"server"`
}

type YapiResp

type YapiResp struct {
	ErrCode int         `json:"errcode"`
	ErrMsg  string      `json:"errmsg"`
	Data    interface{} `json:"data"`
}

type YapiToken

type YapiToken struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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