Function kev_push::run

source · []
pub fn run() -> Result<(), Error>
Expand description

At first launch, this will cache the current KEV JSON. Subsequent launches will then compare the current catalog served from CISA’s site with the cached one and both update the local cache and fire off a notification. macOS users will also receive a desktop notification.

On macOS and linux, XDG_CACHE_HOME is used as the base cache directory, so the cache file is at ~/.cache/kev-cache/kev.json.

On Windows the base cache directory is %LOCALAPPDATA%, so the cache file is at (C:\\Users\\%USERNAME%\\AppData\\Local\\kev-cache\\kev.json).