question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Annoyance: apy add leaves markdown files littering the directory

See original GitHub issue

If you run apy add and add some notes interactively, the directory is left with a .md file containing those notes. I think it would be better that they be deleted afterwards by default, or else saved in the /tmp directory.

[ckp95@ckp95-laptop anki]$ ls
[ckp95@ckp95-laptop anki]$ apy add
reverting to stock json
Added note to deck: All
Review added notes? [y/N]: n
Database was modified.
Remember to sync!
[ckp95@ckp95-laptop anki]$ ls
note_4akr_cca.md

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lervagcommented, Jun 6, 2020

I’ll push a new version tag later. But I’m curious, do you get the fix to this with the way you install, or are you stuck on the 0.4 tag?

1reaction
lervagcommented, Jun 6, 2020

Yes, I agree. The reason is that in the beginning, I was afraid to delete the files because I was not sure how robust this thing would be. And now I mainly write my notes first in a notes.md file, then add them with apy add-from-file. I think that the best solution is to save the notes in /tmp/note_xxxx_.md and not delete the files after. Agreed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

init.el/init.el at master · m-cat/init.el · GitHub
(add-to-list 'recentf-exclude no-littering-var-directory) ... Disable eldoc mode, causes huge slowdown in Rust files and more annoying than. ;; useful.
Read more >
Print Directory & File Structure with icons for representation in ...
I want a Linux command to print directory & file structures in the form of a tree, possibly with Unicode icons before each...
Read more >
DISTRICT COURT OF MARYLAND
This document is a fine schedule for certain violations of the motor vehicle and other laws as set forth in the Annotated Code...
Read more >
Write markdown without leaving Visual Studio
Now, when you have to make changes to markdown files in your project, you can do so without ever leaving Visual Studio.
Read more >
Employment | MDTA - Maryland.gov
Please only apply if you are willing to work in the following counties: Montgomery County and Prince George's County. The eligible list ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found