CLI commands to address lines and headings

Like the title says, the new (great & awesome) CLI could highly benefit from being able to address note lines (or locations) and note headings.

What I envision:

  • appendand prepend to have an optional heading argument, which appends to the section marked by a heading rather than to the end of a file.
  • append and prepend to have an optional line argument.
  • Similarly with daily:appendand daily:prepend. In my use case, and I’m sure I’m not the only one, the daily file has several sections, and just adding to the end is not nearly as useful as adding to the correct section.
  • open to have an optional line argument that scrolls to the desired line.

Thanks for the great work!

1 Like