Documentation
¶
Index ¶
- Variables
- func BuildAction(c *cli.Context) error
- func EnvFile() (string, error)
- func GetVersion() string
- func Getenv(key string) string
- func InitCommands() []*cli.Command
- func NewAction() cli.ActionFunc
- func RegexpReplace(reg, src, temp string) string
- func RunAction(c *cli.Context) error
- type Flags
- type Tool
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "v1.6.9" BuildTime = tools.Tools.TimeFormat(time.Now(), "Y-m-d H:i:s") )
Functions ¶
func BuildAction ¶
func BuildAction(c *cli.Context) error
func GetVersion ¶
func GetVersion() string
func InitCommands ¶
func InitCommands() []*cli.Command
Types ¶
type Flags ¶
func (*Flags) ToNewAction ¶
func (f *Flags) ToNewAction() []cli.Flag
Click to show internal directories.
Click to hide internal directories.