jbang-cache-clear(1)

Name

jbang-cache-clear - Clear the various caches used by jbang. By default this will clear the JAR, script, stdin and URL caches. To clear other caches list them explicitly i.e. '--project' for temporary projects.

Synopsis

jbang cache clear -o [--all] [--[no-]deps] --fresh [--[no-]jar] [--[no-]jdk] [-- * [no-]kotlinc*] [--[no-]project] --quiet [--[no-]script] [-- * [no-]stdin*] [--[no-]url] --verbose

Description

Clear the various caches used by jbang. By default this will clear the JAR, script, stdin and URL caches. To clear other caches list them explicitly i.e. '--project' for temporary projects.

Options

--all

clear all caches

--[no-]deps

clear dependency cache only

--fresh

Make sure we use fresh (i.e. non-cached) resources.

--[no-]jar

clear JAR cache only

--[no-]jdk

clear JDK cache only

--[no-]kotlinc

clear kotlinc cache only

-o, --offline

Work offline. Fail-fast if dependencies are missing. No connections will be attempted

--[no-]project

clear temporary projects cache only

--quiet

jbang will be quiet, only print when error occurs.

--[no-]script

clear script cache only

--[no-]stdin

clear stdin cache only

--[no-]url

clear URL cache only

--verbose

jbang will be verbose on what it does.