JBANG CACHE
SYNOPSIS
jbang cache [OPTIONS] [COMMAND]
jbang caches downloaded scripts, built jars, dependencies and JDKs to make later runs fast. Use these commands to clear them when something looks stale.
Examples:
jbang cache clear
jbang cache clear --deps
jbang cache clear --all
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
-
clear - Clear the various caches used by jbang. By default this will clear the JAR, script, stdin, URL and dependency caches.