JBANG TEMPLATE

NAME

jbang template — Manage templates for scripts.

SYNOPSIS

jbang template [OPTIONS] [COMMAND]

Templates are the starting points jbang init --template=<name> creates scripts from. Add your own to a catalog to reuse them across projects.

Examples:

jbang template list
jbang template add --name logo showlogo.java img.jpg
jbang template remove logo

OPTIONS

-h, --help

Display this help and exit

--config=<config>

Path to config file to be used instead of the default

--insecure

Enable insecure trust of all SSL certificates.

--[no-]verbose

jbang will be verbose on what it does.

--[no-]quiet

jbang will be quiet, only print when error occurs.

-o, --[no-]offline

Work offline. Fail-fast if dependencies are missing.

--[no-]fresh

Make sure we use fresh (i.e. non-cached) resources.

-x, --[no-]stacktrace

Print exceptions stacktraces to stderr (even when quiet).

--netrc=<netrc>

Path to a .netrc file for HTTP authentication credentials.

--no-netrc

Disable .netrc authentication lookup.

COMMANDS

  • add - Add template for script reference.

  • list - Lists locally defined templates or from the given catalog.

  • remove - Remove existing template.