JBANG CACHE CLEAR
NAME
jbang cache clear — Clear the various caches used by jbang. By default this will clear the JAR, script, stdin, URL and dependency caches.
SYNOPSIS
jbang cache clear [OPTIONS]
Without options it clears the jar, script, stdin, URL and dependency caches. Pick specific caches with the flags below, or use --all to also remove JDKs, compilers and temporary projects.
Examples:
jbang cache clear
jbang cache clear --jar --url
jbang cache clear --all
OPTIONS
- --[no-]url
-
clear URL cache only
- --[no-]jar
-
clear JAR cache only
- --[no-]deps
-
clear dependency cache only
- --[no-]jdk
-
clear JDK cache only
- --[no-]kotlinc
-
clear kotlinc cache only
- --[no-]groovyc
-
clear groovyc cache only
- --[no-]project
-
clear temporary projects cache only
- --[no-]script
-
clear script cache only
- --[no-]stdin
-
clear stdin cache only
- --all
-
clear all caches
- -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.