jbang-init(1)
Name
jbang-init - Initialize a script.
Synopsis
jbang init -o [-h] [--edit] [--force] --fresh [--insecure] [--[no-] * integrations*] --quiet --verbose [--module[=<module>]] [--config=<config>] [-j=<javaVersion>] [-m=<main>] [-t=<initTemplate>] [-C=<compileOptions>]… [-D=<String=Object>]… [--deps=<dependencies>]… [--manifest=<String=String>]… scriptOrFile [params…]
Options
- -C, --compile-option=<compileOptions>
-
Options to pass to the compiler
- --config=<config>
-
Path to config file to be used instead of the default
- -D, <String=Object>
-
set a system property
- --deps=<dependencies>
-
Add additional dependencies (Use commas to separate them).
- --edit
-
Open editor on the generated file(s)
- --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.
- --[no-]integrations
-
Enable integration execution (default: true)
- -j, --java=<javaVersion>
-
JDK version to use for running the script.
- -m, --main=<main>
-
Main class to use when running. Used primarily for running jar’s.
- --manifest=<String=String>
- --module[=<module>]
-
Treat resource as a module. Optionally with the given module name
- -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
- --verbose
-
jbang will be verbose on what it does.