cache#
$ scf cache -h
Usage: scf cache [OPTIONS] COMMAND [ARGS]...
Options:
-h, --help Show this message and exit.
Commands:
clean Remove expired cache entries
clear Clear the whole cache
populate Prefetch all the cve data
stats Get some stats about the cache
populate#
Use populate to preload the cve data into a sqlite database.
$ scf cache populate -h
Usage: scf cache populate [OPTIONS]
Prefetch all the cve data
Options:
--filter TEXT Regex to apply on the CVEs to fetch. [default:
CVE-2022-.*]
-w, --workers INTEGER The number of workers that should be started
[default: 1]
-h, --help Show this message and exit.
example#
scf cache populate
clean#
Remove expired cache entries from the database.
$ scf cache clean -h
Usage: scf cache clean [OPTIONS]
Remove expired cache entries
Options:
-h, --help Show this message and exit.
example#
scf cache clean
clear#
Remove all entries from the database.
$ scf cache clear -h
Usage: scf cache clear [OPTIONS]
Clear the whole cache
Options:
-h, --help Show this message and exit.
example#
scf cache clear