Sambigeara / fuzzynote

Terminal-based, hyper-fast, CRDT-backed, collaborative note-taking tool
GNU Affero General Public License v3.0
367 stars 8 forks source link

Export data #76

Closed mbos closed 3 years ago

mbos commented 3 years ago

It would be really nice if data could be exported. My ideal situation would be that the results of a search could be exported to a txt formatted file and that from the command line all the current entries could be exported.

Sambigeara commented 3 years ago

Hi @mbos! Thanks for taking the time. This is my interpretation of your request:

  1. Search to generate result set
  2. Enter some key combination to trigger "flush to file"
  3. Result set gets written to some line separated file, e.g. export_foo.txt

Does that sound about right? This final part confused me a little:

and that from the command line all the current entries could be exported.

Cheers.

mbos commented 3 years ago

Hey,

That sounds right. The second part would be: use fzn --export export_foo.txt to get entire dataset

Sambigeara commented 3 years ago

Right, gotcha.

Agreed - will be some useful functionality 👍. Watch this space!

Sambigeara commented 3 years ago

For my own reference, consider an additional flag, e.g. --visibility or --hide-items etc to determine visibility when importing into fzn.

Sambigeara commented 3 years ago

Aplogies for the delay on this one. I'm a little tied up at present but should have the time to wrap this up at the weekend (if not before)

mbos commented 3 years ago

Chill mate, I appreciate the pace and think the program has great potential but please there are lots more important things in life.

Sambigeara commented 3 years ago

Haha! Completely agree. Thanks dude 🙌

Sambigeara commented 3 years ago

Introduced support for this in v0.21.0 Usage