onitake commented on issue #62: URL: https://github.com/apache/cloudstack-cloudmonkey/issues/62#issuecomment-660684302
@rhtyd I totally agree with you on that one. However, by using cobra, bash autocompletion would be easier to add. The standard flag package is very primitive and cannot autogenerate bash autocompletion strings like many Go tools do. The semi-dynamic nature of cmk will certainly make it a bit more difficult to implement this - but there are many tools that do send server requests when autocompleting. `scp` and `kubectl` come to mind. `posener/complete` is compatible with the standard flags package, so integrating it into `cmk` will be easy. What will be a bit more complicated is adding the dynamic commands. The documentation is here: https://godoc.org/github.com/posener/complete ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org