You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the awesome program. I am heavily using it with my adl script.
I think it would be very helpful, both to me for my adl script, but also others like justchokingaround/trackma-wrapper to allow trackma -a 1 list to output in a different format upon request. What I mean is, by default it shows a table, but for scripting purposes having it in a character delimited format, or even json would be much better.
For example, right now the output looks like this if I copy paste it:
This requires a bit of scripting to clean up and to get anime titles, or to use trackma info index which is slow.
As such I believe that following would be much nicer: trackma -a 1 list raw
1|"Blue Lock"|9|24|5.5
2|"Bocchi the Rock!"|9|12|6.5
This allows for very simple awk -F'|' '{print $n}' type commands.
The text was updated successfully, but these errors were encountered:
RaitaroH
changed the title
Add the option to "list" in a different format
Option to "list" in a different format (raw data) [feature request]
Dec 9, 2022
Hi,
Thank you for the awesome program. I am heavily using it with my adl script.
I think it would be very helpful, both to me for my adl script, but also others like justchokingaround/trackma-wrapper to allow
trackma -a 1 list
to output in a different format upon request. What I mean is, by default it shows a table, but for scripting purposes having it in a character delimited format, or even json would be much better.For example, right now the output looks like this if I copy paste it:
This requires a bit of scripting to clean up and to get anime titles, or to use
trackma info index
which is slow.As such I believe that following would be much nicer:
trackma -a 1 list raw
This allows for very simple
awk -F'|' '{print $n}'
type commands.The text was updated successfully, but these errors were encountered: