package
0.0.0-20220912201312-5c29306e10d4
Repository: https://github.com/timsolov/boilr.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetBoolFlag retrieves the named boolean command-line flag given the command that contains it.
GetStringFlag retrieves the named string command-line flag given the command that contains it.
ListTemplates returns a list of templates saved in the local template registry.
MustValidateArgs validates given arguments with the supplied validation functions.
MustValidateTemplate validates a template given it's absolut path.
MustValidateTemplateDir ensures that template directory is initialized.
MustValidateVarArgs validates given variadic arguments with the supplied validation function.
Run executes the cli-command root.
TemplateInRegistry checks whether the given name exists in the template registry.

# Variables

ConfigureBashCompletion generates bash auto-completion script and installs it.
Delete contains the cli-command for deleting templates.
Download contains the cli-command for downloading templates from github.
ErrTemplateInvalid indicates that the template is invalid.
Init contains the cli-command for initializing the local template registry in case it's not initialized.
List contains the cli-command for printing a list of saved templates.
Rename contains the cli-command for renaming templates in the template registry.
Root contains the root cli-command containing all the other commands.
Save contains the cli-command for saving templates to template registry.
Use contains the cli-command for using templates located in the local template registry.
Validate contains the cli-command for validating templates.
Version contains the cli-command for printing the current version of the tool.