konveyor / move2kube

Move2Kube is a command-line tool for automating creation of Infrastructure as code (IaC) artifacts. It has inbuilt support for creating IaC artifacts for replatforming to Kubernetes/Openshift.
https://move2kube.konveyor.io/
Apache License 2.0
385 stars 118 forks source link

Generate cli endpoint for completion on the lines of helm #44

Closed ashokponkumar closed 2 years ago

ashokponkumar commented 4 years ago

What needs to be done:

  1. Checkout the completion scripts in https://github.com/helm/helm/blob/master/cmd/helm/completion.go
  2. Model move2kube to have similar commands for generating completion scripts
AnaDenisa commented 4 years ago

Hello :) I would like to work on this issue

ashokponkumar commented 4 years ago

@AnaDenisa Any updates on this?

HarikrishnanBalagopal commented 3 years ago

Shouldn't we use this? https://github.com/spf13/cobra/blob/master/shell_completions.md

ashokponkumar commented 3 years ago

Shouldn't we use this? https://github.com/spf13/cobra/blob/master/shell_completions.md

Yep, we can use that.

ashokponkumar commented 2 years ago

Cobra seems to provide by default. So the capability is inbuilt.