Generate purge command
Generate a ready-to-run command or code to clear the Contextractor crawl storage.
Storage
Commands or code only
What to do:
NPM package CLI
Clear the Contextractor crawl storage using the contextractor CLI. This permanently deletes the datasets/, key_value_stores/, and request_queues/ storage buckets — it is irreversible, with no confirmation and no undo. Point --storage at the storage directory to clear; with no --storage it resolves the default location (./storage or the shared XDG storage), which may wipe unrelated crawl data. Requires Node 22+.