edstem threads [options] [command]
edstem threads list
edstem threads list [options] <unit>
| Argument | Required | Description |
|---|---|---|
unit | Yes | Unit ID or code |
| Flags | Description | Choices |
|---|---|---|
-n, --limit <count> | Maximum threads to return | |
-s, --sort <order> | Ed sort order; defaults to new and pinned threads may remain first. | new, old, top, hot |
-c, --category <category> | Filter by exact top-level category. | |
--subcategory <subcategory> | Filter by exact second-level subcategory. | |
-t, --type <type> | Filter by thread type. | |
--answered | Only answered threads. | |
--unanswered | Only unanswered threads. | |
--unread | Only threads Ed reports as unseen. | |
--offset <count> | Skip this many threads before filtering. | |
--since <when> | Only threads created at or after an ISO date or a relative offset such as 7d. |
edstem threads search
edstem threads search [options] <unit> <query...>
| Argument | Required | Description |
|---|---|---|
unit | Yes | Unit ID or code |
query... | Yes | Words that must all appear in the title or body |
| Flags | Description | Choices |
|---|---|---|
-n, --limit <count> | Maximum threads to return | |
-s, --sort <order> | Ed sort order; defaults to new and pinned threads may remain first. | new, old, top, hot |
-c, --category <category> | Filter by exact top-level category. | |
--subcategory <subcategory> | Filter by exact second-level subcategory. | |
-t, --type <type> | Filter by thread type. | |
--answered | Only answered threads. | |
--unanswered | Only unanswered threads. | |
--unread | Only threads Ed reports as unseen. | |
--offset <count> | Skip this many threads before filtering. | |
--since <when> | Only threads created at or after an ISO date or a relative offset such as 7d. |
edstem threads export
edstem threads export [options] <unit>
| Argument | Required | Description |
|---|---|---|
unit | Yes | Unit ID or code |
| Flags | Description | Choices |
|---|---|---|
--dest <directory> | Archive directory. | |
--no-files | Keep remote attachment links without downloading. | |
--force | Rewrite completed thread files. | |
-n, --limit <count> | Maximum threads to return | |
-s, --sort <order> | Ed sort order; defaults to new and pinned threads may remain first. | new, old, top, hot |
-c, --category <category> | Filter by exact top-level category. | |
--subcategory <subcategory> | Filter by exact second-level subcategory. | |
-t, --type <type> | Filter by thread type. | |
--answered | Only answered threads. | |
--unanswered | Only unanswered threads. | |
--unread | Only threads Ed reports as unseen. | |
--offset <count> | Skip this many threads before filtering. | |
--since <when> | Only threads created at or after an ISO date or a relative offset such as 7d. |
edstem threads show
edstem threads show [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or unit ID/code plus #number |
| Flags | Description |
|---|---|
--include-html | Include Ed XML content. |
edstem threads read
edstem threads read [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or unit ID/code plus #number |
edstem threads star
edstem threads star [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads unstar
edstem threads unstar [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads watch
edstem threads watch [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads unwatch
edstem threads unwatch [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads upvote
edstem threads upvote [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
| Flags | Description |
|---|---|
--comment <id> | Vote on a comment belonging to the thread. |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads unvote
edstem threads unvote [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
| Flags | Description |
|---|---|
--comment <id> | Vote on a comment belonging to the thread. |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads mark-read
edstem threads mark-read [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
| Flags | Description |
|---|---|
--all | Mark every thread in the unit as read. |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads mark-unread
edstem threads mark-unread [options] <reference>
| Argument | Required | Description |
|---|---|---|
reference | Yes | Thread ID or UNIT#number; use UNIT with mark-read —all |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.edstem threads send
edstem threads send [options] <unit>
| Argument | Required | Description |
|---|---|---|
unit | Yes | Unit ID or code |
| Flags | Description | Choices |
|---|---|---|
--title <title> | Thread title. | |
--body <markdown> | Thread body as Markdown. | |
--body-file <path> | Read the Markdown body from a file, or - for stdin. | |
--type <type> | Thread type. | question, post |
-c, --category <category> | Ed category for the thread. | |
--private | Post privately to staff. | |
--anonymous | Post anonymously. |
This command changes data on the server. It asks for confirmation unless you pass
--yes. Add --dry-run to print the plan without applying it.