-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Clipboard Rm
Forgets one entry and deletes the blob behind it.
ed clipboard rm <index> [--json] [--yes]
| Name | Type / values | Default | What it does |
|---|---|---|---|
<index> |
integer, from 1 | required | The entry number, counting from 1. |
--json |
flag | off | Emit JSON on stdout. |
--yes |
flag | off | Apply the removal. Without it, preview the exact entry. |
{
"action": "remove clipboard entry",
"applied": true,
"changed": true,
"id": "c8ca5dfe8a9a4d24",
"index": 3,
"preview": "copied text",
"remaining": 1216,
"removed": 3,
"targets": ["c8ca5dfe8a9a4d24"]
}removed here is the index that was removed, not a count, which is the opposite
of what the same key means under clear. remaining is how many entries the
history holds afterwards.
Without --yes, the command reports the exact entry id, index, and preview
without changing the index or blob. Removal prunes orphaned blobs, so the file
under blobs/ goes with the entry unless another entry references the same
content. This is not a Trash move and there is no undo after confirmation.
Examples:
ed clipboard rm 3
ed clipboard rm 1 --yes --json
$ ed clipboard rm 3 --yes
removed entry 3, 1216 left
Numbers shift after a removal, so removing several entries by number means
re-reading ls between each one, or reading id out of --json first and
working from that.
-
ed clipboard, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides