jbang-info-tools(1)

Name

jbang-info-tools - Prints a json description usable for tools/IDE's to get classpath and more info for a jbang script/application. Exact format is still quite experimental.

Synopsis

jbang info tools -o [-h] --fresh [--insecure] [--jsh] --quiet --verbose [--config=<config>] [--cp=<classpaths>]…​ [-D=<String=String>]…​ [--deps=<dependencies>]…​ [--repos=<repositories>]…​ <scriptOrFile>

Description

Prints a json description usable for tools/IDE’s to get classpath and more info for a jbang script/application. Exact format is still quite experimental.

Options

--config=<config>

Path to config file to be used instead of the default

--cp, --class-path=<classpaths>

Add class path entries.

-D, <String=String>

set a system property

--deps=<dependencies>

Add additional dependencies (Use commas to separate them).

--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.

--repos=<repositories>

Add additional repositories.

--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