Spark cache clean
NAME
spark-cache-clean - Cleans cached data from ~/.foxar
.
SYNOPSIS
spark cache clean
[options] [--] [chains..]
DESCRIPTION
Removes files in the ~/.foxar/cache
folder which is used to cache Etherscan verification status and block data.
OPTIONS
-b
--blocks
One or more block numbers separated by comma with no spaces
--etherscan
A boolean flag that specifies to only remove the block explorer portion of the cache
Common Options
-h
--help
Prints help information.
EXAMPLES
-
Remove the entire cache (also,
spark cache clean
is an alias for this)spark cache clean all
-
Remove the entire block explorer cache
spark cache clean all --etherscan
-
Remove cache data for a specific chain, by name
spark cache clean rinkeby
-
Remove cache data for a specific block number on a specific chain. Does not work if
chain
isall
spark cache clean rinkeby -b 150000
-
Remove block explorer cache data for a specific chain. Does not work if
--blocks
are specified.spark cache clean rinkeby --etherscan
-
Specify multiple chains
spark cache clean rinkeby mainnet
-
Specify multiple blocks
spark cache clean rinkeby --blocks 530000,9000000,9200000