Closed AdrieanKhisbe closed 6 years ago
Great @milesj ! Thanks à lot !
Do you think it can be shipped on a minor or patch version ? Or should i wait thé major 2.0 to Land? :)
Not sure. I don't have access to publish.
Ah ok 😕 Do you think you could do something @dthree ? 😃
So far user defined
autocomplete
function will not be called when trying to complete the arguments of a given options.In case of
allowUnknownOptions
, it would be useful that the autocomplete function takes care of the flags completion.This is the need I have for building vorpal-shell to have in cli completion of options.
Maybe other design option can be considered such as a property
handlesOption
in theautocomplete
option along with the functiondata
. I'm open to that :)