knocean / knode

Knowledge Development Environment
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Save terms to project Knotation file #11

Closed jamesaoverton closed 7 years ago

jamesaoverton commented 7 years ago

We need to be able to serialize the terms in the current state to the project's Knotation file. The primary use case is when adding a new term programmatically. In this case, statements generated by a template should not be serialized. Terms should be sorted by their prefixed name.

Although we could sometimes just append to the file, it will be simpler to re-serialize all terms.