export
todoister export [flags] [PATH]Export all Todoist projects as a tree of JSON or YAML files.
PATHis a file or directory where to export the projects, by defaultindex.json.
-d,--depth<int>- depth of subdirectory tree to create on the filesystem when exporting (default is 0, i.e., no subdirectories)
--json- export in JSON format (default)
--yaml- export in YAML format
Global Flags
Section titled “Global Flags”-t,--token<string>- use
<string>as Todoist API token
Examples
Section titled “Examples”# Export to a single index.json file in the current directory:todoister export
# Export to todoist.json file in the home directory:todoister export ~/todoist.json
# Export to todoist.yaml file in the home directory:todoister export --yaml ~/todoist.yaml
# Export to a projects directory in the home, with subdirectories down to 3 levels deep:todoister export --json -d 3 ~/projects