cmd

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: AGPL-3.0 Imports: 32 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

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