// If the program does not have a name, callback with an error
if (completion.name) {
The documentation is far from easy to make things work and no command to generate completion script injecting to bash_profile make it painful to use this repo. Spent over 5 hours and it is still not working for me, bad luck.
https://github.com/twolfson/commander-completion/blob/master/lib/commander-completion.js#L108
The documentation is far from easy to make things work and no command to generate completion script injecting to bash_profile make it painful to use this repo. Spent over 5 hours and it is still not working for me, bad luck.