Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanTemplates ¶
func CleanTemplates(_ *cli.Context) error
CleanTemplates deletes all templates
func GenTemplates ¶
func GenTemplates(ctx *cli.Context) error
GenTemplates writes the latest template text into file which is not exists
func RevertTemplates ¶
func RevertTemplates(ctx *cli.Context) (err error)
RevertTemplates will overwrite the old template content with the new template
func UpdateTemplates ¶
func UpdateTemplates(ctx *cli.Context) (err error)
UpdateTemplates writes the latest template text into file, it will delete the older templates if there are exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.