openground remove command deletes all documents for a specific library version from the local vector database.
Usage
Arguments
Name of the library to remove
Options
Version of the library to remove.Aliases:
-vNote: This option is required. You must specify which version to remove.Skip confirmation prompt.Aliases:
-yBehavior
Confirmation Prompt
Before deletion, the command shows:- Library name and version
- Number of chunks to be deleted
- Number of unique pages
- Sample page titles (up to 3)
--yes is used.
Raw Files
After removing from the database, the command offers to delete raw files from the raw data directory:- Location:
~/.openground/raw_data/{library}/{version}/ - You can choose to keep or delete these files
Examples
Remove with Confirmation
Remove Without Confirmation
Using Shorthand Alias
Error Handling
Library Not Found
Workflow
-
Check what exists:
-
Remove a library:
-
Verify removal:
Removing Multiple Versions
To remove multiple versions, run the command for each:Related Commands
- openground list - View installed libraries
- openground nuke - Delete all data
- openground add - Add libraries back