You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brett Terpstra edited this page May 11, 2022
·
3 revisions
Working with export formats
Doing can output to Doing format (TaskPaper) or to JSON, both of which can be read back in using the import command. All display commands accept --output, and using --output doing or --output json will export data in a structured format. As long as the IDs attached to each entry are preserved, any changes made to the content between export and import will affect the existing entries.
Using Doing as a library
You can require the doing gem and have access to all of Doing's public methods. This can be used to add entries, modify contents, and output data. See the API documentation to explore the possibilities.