norwegianblue
norwegianblue copied to clipboard
Feature request: Autocomplete after the eol command
:grey_question: About
While typing eol+TAB it would be very cool to get the existsing products instead of eol | grep X
:ticket: Related content
- https://github.com/charmbracelet/gum/issues/267
- https://github.com/hugovk/norwegianblue/pull/132
To do this, whatever controls the tab completion would need to first make an HTTP request first to the https://endoflife.date/docs/api to fetch the list of products. The response could then be cached for a day like we're doing for the usual product EOL responses.
Yup, that's the idea :+1:
with this endpoint : https://endoflife.date/api/all.json
Hi guys, any chance to get this feature :grey_question: :pray:
I've never had much luck with autocomplete libraries, but would review a PR for this.
:ok_hand: