Completion in go (#859)

* Initial implementation setting up of smart completion.

* Initial implementation for service delete.

* Initial implementation for service create.
This doesn't work properly because we really need to be able to
distinguish between positional arguments.

* Clean-up.

* Add doc.

* Add doc.

* Refactor completion handler code to make it easier to test. Add tests.

* Update vendor.

* Filtering doesn't occur at the completion handler level at this point.

* Add test for delete completion.

* Update glide and vendor.

* Fix format.

* Fix format.

* Add MPL-2.0 to licenses.

* Revert to 1.1.2 version of complete library due to bug with 1.2.0.
See https://github.com/posener/complete/issues/74

* Fix odo -h.
This commit is contained in:
Chris Laprun
2018-10-29 09:16:45 +01:00
committed by Suraj Narwade
parent ff6af620fc
commit 2fb026f084
133 changed files with 8432 additions and 19702 deletions

View File

@@ -9,6 +9,7 @@ whitelist:
- NewBSD
- FreeBSD
- ISC
- MPL-2.0
exceptions:
# wwhrd currently does not detect ISC which is compatible with Odo so, add it under exceptions to avoid errors due to it being not recognised