cmd

package
v0.0.0-...-adbbca2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdExtractImage = &cli.Command{
	Name:        "extract",
	Usage:       "extract [PDF]",
	Description: "extract image",
	Action:      extractImage,
	Flags:       []cli.Flag{},
}
View Source
var CmdGen = &cli.Command{
	Name:        "gen",
	Usage:       "generate [DIRECTORY]",
	Description: "generate files in directory",
	Action:      runGen,
	Flags:       []cli.Flag{},
}
View Source
var CmdPrint = &cli.Command{
	Name:        "print",
	Usage:       "print",
	Description: "print all command description",
	Action:      runPrint,
	Flags:       []cli.Flag{},
}
View Source
var CmdWeb = &cli.Command{
	Name:        "web",
	Usage:       "web",
	Description: "start shelf app server",
	Action:      runWeb,
	Flags:       []cli.Flag{},
}

Functions

func NewMainApp

func NewMainApp() *cli.App

func RunMainApp

func RunMainApp(app *cli.App, args ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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