Documentation ¶
Overview ¶
You can use the "packr clean" command to clean up this, and any other packr generated files.
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.3.6" BuildTime = tools.Tools.TimeFormat(time.Now(), "Y-m-d H:i:s") )
Functions ¶
func BuildAction ¶ added in v1.1.7
func BuildAction(c *cli.Context) error
func GetVersion ¶
func GetVersion() string
func InitCommands ¶
func InitCommands() []*cli.Command
Types ¶
type Flags ¶
func (*Flags) ToNewAction ¶ added in v1.1.7
func (f *Flags) ToNewAction() []cli.Flag
type Tool ¶
type Tool struct { Name string `json:"name"` Alias string `json:"alias"` BuildTime time.Time `json:"build_time"` Install string `json:"install"` Dir string `json:"dir"` Summary string `json:"summary"` Platform []string `json:"platform"` Author string `json:"author"` URL string `json:"url"` }
Tool is kratos tool.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.