Open ankithans opened 3 years ago
Note that this is not full blown registry - just code to call binary that is either:
Copying exact comment as link brings us to the entire PR:
Calling external CLI is a very cool although a commonly resolved problem in the golang ecosystem.
I do not want to steal cool feature from you and we can keep this as capability, but I did not think that people will use charmil for that where you can have this:
https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/plugin/plugin.go
https://github.com/openshift-online/ocm-cli/blob/master/pkg/plugin/plugin.go
https://github.com/openshift/odo/blob/main/pkg/odo/cli/plugins/plugin_handler.go
This is epic that is outside the scope of the GSOC for now
The ability to run the CLI plugin with the binary, can be done by keeping the registry for supported plugins
37 provides somewhat fair example to this