cmd

package
v3.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: AGPL-3.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServiceOptions = &service.Options{
	Name:        ``,
	DisplayName: ``,
	Description: ``,
}

ServiceOptions 服务选项

Functions

func Add

func Add(cmds ...*cobra.Command)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FetchFont

func FetchFont(_cssFile string, _outputDir string, _debug bool) error

func Init

func Init()

func NewRoot

func NewRoot() *cobra.Command

func TestSuiteRegister

func TestSuiteRegister(name string, fn func(cmd *cobra.Command, args []string) error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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