tpl

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MIT Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

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