td attachment view: let it take a comment instead of a file URL?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by reading the existing td attachment view command and its tests, then check the td comment view hint and skill content mentioned in the issue. Compare the behavior with todoist-mcp issue #825. Done means the command accepts a comment reference while preserving URL input, reports clear errors for comments without files or with links, uses the file's real name and type, and has tests and updated guidance.
Written by the indexing model from the issue text.
Description
Hi! Would you take a PR for this?
Right now td attachment view needs the file URL. You copy it from td comment view and paste it in. In todoist-mcp, todoist/todoist-mcp#825 changed view-attachment to take a comment ID and read the URL from the comment itself.
My plan for the CLI:
- Add
td attachment view --comment <ref>, which reads the file from that comment. A comment with no file, or with a link instead of a file, gets a clear error. - Keep the URL argument as it is, so nothing that uses it today breaks.
- Use the comment's real file name and type in the output.
- Add tests, and update the skill content and the hint in
td comment view.
Is that something you'd want, or would you rather keep the CLI URL-only?
Thanks!
Generated by Claude Code
- Dominant language
- TypeScript
- Stars
- 331
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Doist/todoist-cli
-
Template commands: project export, import and creation, and saved templatesPossibly taken @engfragui claimed this 22 days ago. Open
Doist/todoist-cli#654 · 1 assignee ·
-
Add a `td watch` command for live Todoist changesMay be free again @gnapse claimed this 98 days ago, and no pull request is open. Openenhancement
Doist/todoist-cli#499 · 5 comments · 1 assignee ·
-
Dependency DashboardOpen
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
Doist/todoist-cli#129 ·
All issues in Doist/todoist-cli
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
novuhq/novu#13613 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nightly-labs/openbot#23943 ·
Maintainers usually reply within 1 day
-
comp/desktop desktop/chat P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
NousResearch/hermes-agent#164451 ·
Maintainers usually reply within 1 day
-
shortkeys-2188:ready
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
crittermike/shortkeys#1121 · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
mengxi-ream/read-frog#2662 ·
Maintainers usually reply within 1 day