Template commands: project export, import and creation, and saved templates
@engfragui is already working on this.
Since Nov 12, 2026.
Assessment
This issue has not been assessed yet.
Description
Tracks the todoist-cli side of the template work. The MCP side is tracked in todoist/todoist-mcp#678, and the plan for both is in the template tools spec (todoist/specs#368).
Project operations move from td template to td project, using the app's wording ("Export as CSV", "Import from CSV", "Save as template"). td template is only for templates themselves, and "template" is never used for CSV. The old commands stay for one release as hidden aliases that print a deprecation warning.
Commands
| Command | What it does | Replaces |
|---|---|---|
td project export [ref] |
Exports a project as a CSV file. | td template export-file |
td project save-as-template [ref] |
Saves a project as a template. | New |
td project import [ref] --from-csv <path> |
Imports a CSV file into an existing project. | td template import-file |
td project import [ref] --from-template <id> |
Imports a template into an existing project. | td template import-id |
td project create --name <name> --from-csv <path> |
Creates a project from a CSV file. | td template create |
td project create --from-template <id> |
Creates a project from a template. | New |
td template create --from-csv <path> |
Creates a template from a CSV file. | New |
td template list / view / update / delete |
Finds, views, edits or deletes saved templates. | New, later |
Checklist
-
td project export(CSV for now), replacingtd template export-file. -
td project import --from-csvand--from-template, replacingtd template import-fileandtd template import-id. -
td project create --from-csvand--from-template, replacingtd template createand adding creation from a template. -
td project save-as-template. NeedssaveProjectAsTemplatefrom todoist/todoist-sdk-typescript#746. -
td template create --from-csv. NeedsaddTemplatefrom todoist/todoist-sdk-typescript#748. -
td template list,view,updateanddelete. Later;deletewaits on todoist/Todoist#31805 publishing its route (task). - Move to the major SDK release from todoist/todoist-sdk-typescript#750, including the method names listed in
src/lib/permissions.tsandsrc/lib/api/core.ts. - Remove
td template export-url, only if Doist/Issues#21076 decides to drop the shareable link. Also takeexportTemplateAsUrloff the read-only method list insrc/lib/permissions.tsand the progress messages insrc/lib/api/core.ts.
Reference
- Todoist task: Add template support to agents and automations
- Comms: +TODO: Add Template support to agents and automations
- Specs: https://github.com/todoist/specs/pull/368
- MCP/SDK work: https://github.com/todoist/todoist-mcp/issues/678
Details
- Options per source.
td project importneeds exactly one--from-…option.--file-nameonly applies with--from-csv, and--localeonly with--from-template. With--from-…,td project createrejects the options its routes don't accept (--color,--favorite,--parent,--description), pointing totd project updateinstead of ignoring them.--workspaceand--folderare new for--from-template;--folderneeds--workspace, as the API'sfolder_iddoes. td template createchanges meaning. Todaytd template create --name <name> --file <path>creates a project from a CSV. For one release,--filekeeps doing that, with a deprecation warning pointing totd project create --from-csv, while--from-csvcreates a template. The different option names keep old scripts from silently creating templates. After that release,--filefails with an error.- Help text.
td template --helppoints totd project import --from-templateandtd project create --from-template, since someone thinking "templates" looks there first. Wording that calls the CSV a template ("CSV template file", "Template written to", "Exporting template...") changes to CSV. - Read-only mode.
src/lib/permissions.tslists read-only SDK methods by name, so the renamedexportProjectAsCsvmust be added there, or read-only logins get blocked from exporting. - Differences from the MCP. The MCP's
add-templatetool covers bothtd project save-as-templateandtd template create --from-csv, and can also start from a blank template. The CLI keeps two commands, because a command lives under what it acts on, and a template from scratch isn't planned here.
Nothing here blocks the MCP: both build on the same SDK releases, and the MCP doesn't use the CLI.
- 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
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Doist/todoist-cli#742 ·
-
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