commands

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 21 Imported by: 1

Documentation

Overview

Package commands are subcommands of the sponge command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenMicroCommand added in v1.5.1

func GenMicroCommand() *cobra.Command

GenMicroCommand generate micro service code

func GenWebCommand added in v1.5.1

func GenWebCommand() *cobra.Command

GenWebCommand generate web server code

func GetSpongeDir added in v1.3.8

func GetSpongeDir() string

GetSpongeDir get sponge home directory

func InitCommand added in v1.2.0

func InitCommand() *cobra.Command

InitCommand initial sponge

func MergeCommand added in v1.4.5

func MergeCommand() *cobra.Command

MergeCommand merge the generated code

func NewRootCMD

func NewRootCMD() *cobra.Command

NewRootCMD command entry

func OpenUICommand added in v1.5.1

func OpenUICommand() *cobra.Command

OpenUICommand open the sponge UI interface

func PatchCommand added in v1.5.1

func PatchCommand() *cobra.Command

PatchCommand patch server code

func PluginsCommand added in v1.5.12

func PluginsCommand() *cobra.Command

PluginsCommand plugins management

func UpgradeCommand added in v1.3.12

func UpgradeCommand() *cobra.Command

UpgradeCommand upgrade sponge binaries

Types

This section is empty.

Directories

Path Synopsis
Package generate is to generate code, including model, cache, dao, handler, http, service, grpc, grpc-gw, grpc-cli code.
Package generate is to generate code, including model, cache, dao, handler, http, service, grpc, grpc-gw, grpc-cli code.
Package merge is merge the generated code into the template file, you don't worry about it affecting the logic code you have already written, in case of accidents, you can find the pre-merge code in the directory /tmp/sponge_merge_backup_code
Package merge is merge the generated code into the template file, you don't worry about it affecting the logic code you have already written, in case of accidents, you can find the pre-merge code in the directory /tmp/sponge_merge_backup_code
Package patch is command set for patching service code.
Package patch is command set for patching service code.

Jump to

Keyboard shortcuts

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