xdg-ninja
xdg-ninja copied to clipboard
Add option to output to a file
Since there are a lot more entries now i think being able to output to a file would be quite handy. I don't know which format would be best (and also easy to implement in a bash script)
Can't you just redirect output of xdg-ninja to a file?
xdg-ninja > somefile.md
cat somefile.md
Sorry, i didn't clarify enough
i meant something more data-oriented like json or csv or something like that
Also, xdg-ninja > somefile.md
is only useful when using it with cat/less/etc... because of the (color) escape codes used for the terminal
And since it still does not have a no-color mode it currently always includes them