Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wisit does not support in-command auto-completation #169
In order to achieve this level of auto-completion we should execute the command 'instances' to retrieve the instances name first.
We can either cache the result or rerun the command each time the 'instance <> + tab' is called.
The second option can have a disturbing delay. A more sophisticated implementation would requires a smart cache which would be updated through the web-socket each time an instances is added or removed. However it seems a bit too much for the feature.
Caching the initial result on instances would be good enough for now. anyway, how would you know the name of the instance ?
On 18 avr. 2014, at 09:14, Jonathan Bardin email@example.com wrote: