tmpl/CLI.md
John Olheiser 19edb3a580
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Add env and restore commands (#11)
Add env and restore commands

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Check for existance

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #11
Co-Authored-By: John Olheiser <john.olheiser@gmail.com>
Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
2020-11-30 13:16:25 +08:00

957 B

NAME

tmpl - Template automation

SYNOPSIS

tmpl

[--registry|-r]=[value]
[--source|-s]=[value]

Usage:

tmpl [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]

GLOBAL OPTIONS

--registry, -r="": Registry directory of tmpl (default: ~/.tmpl)

--source, -s="": Short-name source to use

COMMANDS

download

Download a template

--branch, -b="": Branch to clone (default: main)

env

Show tmpl environment variables

init

Initialize a template

list

List templates in the registry

remove

Remove a template

restore

Restore missing templates

save

Save a local template

source

Commands for working with sources

list

List available sources

add

Add a source

remove

Remove a source

test

Test if a directory is a valid template

update

Update a template

use

Use a template

--defaults: Use template defaults

--force: Overwrite existing files