4 ms·
it's not always ideal, only you have a very intelligent parser understanding the context of the manpage.. i.e: "-u: read a http url" the parser would need to un
by ossusermivami 5y ago
it's not always ideal, only you have a very intelligent parser understanding the context of the manpage.. i.e: "-u: read a http url" the parser would need to understand to propose an https:// https:// (and perhaps the hosts on system) prefix after hitting the TAB key after the -u flag. if not it would do just the completion of switches and argument which is maybe good enough but not great...
(it's a simple example that doesn't add a lot of usefulness, but there is other usecase like the -n of kubectl, it is very useful to have the completion of kubectl namespaces in there after -n)