[][src]Function tp_note::run

fn run() -> Result<(), Error>

High level application algorithm:

  1. Create a new note by inserting tp-note's environment in a template.
  2. If the note to be created exists already, open it, read the YAML front matter and synchronize the filename if necessary.
  3. Open the new note in an external editor (configurable).
  4. Read the front matter again and resynchronize the filename if necessary.