`--refresh` flag
I searched for "refresh" in both open and closed issues and PRs, couldn't find anything related to my suggestion.
It would be very convenient to have some way to refresh nom without having to manually press the r button in the tui.
Something like a --refresh flag, that would open nom, wait for it to refresh, and then close it, would be exactly what I'm looking for! That way I could put that into my daily systemd timer, so I don't ever have to remember to refresh manually.
Of course, something like a config option that autorefreshes on a period for you, rather than a flag would be cooler, but it's also far more effort, that you may not want to go for.
Thanks for this @Axlefublr. I think this would be a good addition as both a flag and a config option. The flag for running a one of nom refresh command and the config with an interval for the TUI.
:D having both would be even better, yeah!
@Axlefublr nom refresh is now a command in v2.6.2 thanks to @coolsloth55's contribution
I will leave this open as there is still background refresh in the TUI to be added
yipeeee!
I'd like to add one small addition to this request. When r is pressed, the "refreshed" banner should only show for a few seconds. Currently it shows forever, so basically nom just always says "refreshed" once you've pressed r once, which isn't very helpful.
There's two approaches adding more background activity to clear that "refresh" at or finding a dedicated spot on UI mentioned by @guyfedwards in https://github.com/guyfedwards/nom/pull/102#discussion_r1885943289.
with the refresh subcommand, this has actually been finished for a while lol 🤔