JBANG-INFO-TOOLS
NAME
jbang info tools — Prints a json description usable for tools/IDE’s to get classpath and more info for a jbang script/application.
SYNOPSIS
jbang info tools [-h] [--select=<select>] [-s=<sources>] [--files=<files>] [-T=<source-type>] [--jsh] [--catalog=<catalog>] [-D<key>=<value>] [--deps=<deps>] [--repos=<repos>] [--cp=<cp>] [--ignore-transitive-repositories] [--build-dir=<build-dir>] [--module] [--config=<config>] [--insecure] [--[no-]verbose] [--[no-]quiet] [--[no-]offline] [--[no-]fresh] [--[no-]stacktrace] [<scriptOrFile>]
OPTIONS
- -h, --help
-
Display this help and exit
- --select=<select>
-
Indicate the name of the field to select and return from the full info result
- -s, --sources=<sources>
-
Add additional sources.
- --files=<files>
-
Add additional files.
- -T, --source-type=<source-type>
-
Force input to be interpreted as the given type. Can be: java, jshell, groovy, kotlin, or markdown
- --jsh
-
Force input to be interpreted with jsh/jshell. Deprecated: use '--source-type jshell'
- --catalog=<catalog>
-
Path to catalog file to be used instead of the default
- -D=<key>=<value>
-
set a system property
Default:
true - --deps=<deps>
-
Add additional dependencies (Use commas to separate them).
- --repos=<repos>
-
Add additional repositories.
- --cp=<cp>
-
Add class path entries.
Aliases:
--class-path - --ignore-transitive-repositories
-
Ignore remote repositories found in transitive dependencies
Aliases:
--itr - --build-dir=<build-dir>
-
Use given directory for build results
- --module=<module>
-
Treat resource as a module. Optionally with the given module name
- --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).