-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Download Retry
Puts a failed or interrupted entry back into the queue.
Usage:
ed download retry <n> [--json]
ed download retry --all [--json]
Arguments:
| Name | Type / values | Default | What it does |
|---|---|---|---|
<n> |
integer, counting from 1 | none | The download to retry, numbered as ed download ls numbers it. Optional, but required unless --all is passed. |
Options:
| Name | Type / values | Default | What it does |
|---|---|---|---|
--all |
flag | off | Retries everything that failed or was interrupted. |
--json |
flag | off | Emits one JSON document on stdout. |
Only failed and interrupted entries can be retried; retrying sets them back
to queued and leaves everything else alone. Naming an entry in any other
state exits 1 and says which state it is in, rather than silently doing
nothing. Passing neither a number nor --all also exits 1. --all on a queue
with nothing to retry is not an error: it reports 0 and exits 0.
--json shape:
{
"retried": 2
}Examples:
ed download retry 3
ed download retry --all
ed download retry --all --json
$ ed download retry 1
error: download 1 is done, so there is nothing to retry
Behaviour: retry rewrites downloads.json when something changed, and posts
downloadQueueChanged either way, so a running Edith picks the work up at once
rather than waiting for its next look at the file. Retrying
by number matches on the entry's URL rather than on its position, so if the
same link failed twice, ed download retry 3 re-queues both copies and
retried says 2. The "Edith is not running" note applies here too, on the
human path only.
-
ed download, 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