jbang-init(1)

Name

jbang-init - Initialize a script.

Synopsis

jbang init -o [-hV] [--force] [--fresh] [--insecure] [--jsh] --quiet --verbose [-t=<initTemplate>] <scriptOrFile>

Description

Initialize a script.

Options

--force

Force overwrite of existing files

--fresh

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

-h, --help

Display help/info. Use 'jbang <command> -h' for detailed usage.

--insecure

Enable insecure trust of all SSL certificates.

--jsh

Force input to be interpreted with jsh/jshell

-o, --offline

Work offline. Fail-fast if dependencies are missing. No connections will be attempted

--quiet

jbang will be quiet, only print when error occurs.

-t, --template=<initTemplate>

Init script with a java class useful for scripting

-V, --version

Display version info (use jbang --verbose version for more details)

--verbose

jbang will be verbose on what it does.

Arguments

<scriptOrFile>

A file with java code or if named .jsh will be run with jshell