JBANG INFO
SYNOPSIS
jbang info [OPTIONS] [COMMAND]
Prints details about a script or application for use by IDEs and other tools: resolved dependencies, class path, jar location and documentation.
Examples:
jbang info tools hello.java
jbang info classpath hello.java
jbang info jar hello.java
jbang info docs --open hello.java
OPTIONS
- -h, --help
-
Display this help and exit
- --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).
- --netrc=<netrc>
-
Path to a .netrc file for HTTP authentication credentials.
- --no-netrc
-
Disable .netrc authentication lookup.
COMMANDS
-
tools - Prints a json description usable for tools/IDE’s to get classpath and more info for a jbang script/application.
-
classpath - Prints class-path used for this application using operating system specific path separation.
-
jar - Prints the path to this application’s JAR file.
-
docs - Open the documentation file in the default browser.