-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Machines Snippets Rm
github-actions[bot] edited this page Aug 17, 2026
·
3 revisions
Forgets one snippet. remove is an accepted alias.
ed machines snippets rm <machine> <index> [--json]
| Name | Type / values | Default | What it does |
|---|---|---|---|
<machine> |
string, required | none | Machine name, ssh alias, id or unambiguous prefix. |
<index> |
integer, counting from 1 | none | The snippet's position in ed machines snippets ls for that machine. |
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emit JSON on stdout instead of the line. |
--help, -h
|
flag | off | Print the help for this command on stdout and exit 0. |
{
"remaining": 0,
"removed": {
"command": "journalctl -xe --no-pager",
"id": "F8D5CE93-C9B4-4A05-9109-9AEB1BD806BA",
"index": 1,
"sharedAcrossMachines": false,
"title": "logs"
}
}remaining counts what that machine still offers, shared snippets included.
ed machines snippets rm tuf 1
ed machines snippets rm tuf 1 --json
Removes the snippet from snippets.json by id and posts machinesChanged.
The numbering includes shared snippets, so an index can name one that every
other machine also offers, and removing it removes it everywhere. Check
sharedAcrossMachines in the listing before you delete by number.
An index outside the range exits 3:
$ ed machines snippets rm tuf 1
error: there is no snippet 1 on Asus TUF 7
hint: it offers 0, numbered from 1
-
ed machines, 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