jbang-info-jar(1)

Name

jbang-info-jar - Prints the path to this application's JAR file.

Synopsis

jbang info jar -o [-h] --fresh [--insecure] [--itr] [--jsh] --quiet --verbose [--module[=<module>]] [--build-dir=<buildDir>] [--catalog=<catalog>] [--config=<config>] [--source-type=<forceType>] [--cp=<classpaths>]…​ [-D=<String=String>]…​ [--deps=<dependencies>]…​ [--files=<resources>]…​ [--repos=<repositories>]…​ [-s=<sources>]…​ [<scriptOrFile>]

Description

Prints the path to this application’s JAR file.

Options

--build-dir=<buildDir>

Use given directory for build results

--catalog=<catalog>

Path to catalog file to be used instead of the default

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

--files=<resources>

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

--itr, --ignore-transitive-repositories

Ignore remote repositories found in transitive dependencies

--jsh

Force input to be interpreted with jsh/jshell. Deprecated: use '--source-type jshell'

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

--repos=<repositories>

Add additional repositories.

-s, --sources=<sources>

Add additional sources.

--source-type=<forceType>

Force input to be interpreted as the given type. Can be: java, jshell, groovy, kotlin, or markdown

--verbose

jbang will be verbose on what it does.

Arguments

[<scriptOrFile>]

A reference to a source file