tpl

package
v1.3.1-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 14 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanTemplates

func CleanTemplates(ctx *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