export_template: Export a project as a template

View source: R/templates.R

export_templateR Documentation

Export a project as a template

Description

Export a project as a template

Usage

export_template(
  project_id = get_project_id(project_name = project_name, token = token, create = FALSE),
  project_name,
  output_file,
  verbose = TRUE,
  token = get_todoist_api_token()
)

Arguments

project_id

id of the project to export

project_name

name of the project (for lookup if project_id not provided)

output_file

path where to save the template file

verbose

boolean that make the function verbose

token

todoist API token

Value

path to the saved file (invisible)

Examples

## Not run: 
export_template(project_name = "my_proj", output_file = "template.csv")

## End(Not run)

rtodoist documentation built on Feb. 14, 2026, 5:06 p.m.