Add auto completion for parameters values && args#149
Conversation
Signed-off-by: Vr00mm <remi.ziolkowski@gmail.com>
Saranya-jena
left a comment
There was a problem hiding this comment.
Thanks for adding the changes! 🚀
Signed-off-by: deep-poharkar <deeppoharkar21@gmail.com>
* fixed the compatibility matrix Signed-off-by: deep-poharkar <deeppoharkar21@gmail.com> * fixed AuthResponse snake case to camelCase Signed-off-by: deep-poharkar <deeppoharkar21@gmail.com> --------- Signed-off-by: deep-poharkar <deeppoharkar21@gmail.com>
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
* Update Upgrade Command Signed-off-by: nagesh bansal <nageshbansal59@gmail.com> * Rename ops/ and types/agent_types.go Signed-off-by: nagesh bansal <nageshbansal59@gmail.com> * Add Usage_0.23.0.md link in Readme Signed-off-by: nagesh bansal <nageshbansal59@gmail.com> --------- Signed-off-by: nagesh bansal <nageshbansal59@gmail.com>
* Added changes for 0.24 release Signed-off-by: Sarthak Jain <sarthak.jain@harness.io> * minor changes Signed-off-by: Sarthak Jain <sarthak.jain@harness.io> --------- Signed-off-by: Sarthak Jain <sarthak.jain@harness.io>
|
@Vr00mm , the PR looks good, can you please resolve the conflicts so that we can merge it |
|
@Vr00mm have you tested the describe chaos-experiment command? It works with chaos experiment ID and project ID, and not with the chaos experiment name |
Hello, iam trying to do it today ! |
Signed-off-by: Rémi ZIOLKOWSKI <remi.ziolkowski@gmail.com>
|
@Vr00mm can you please sign the commits, we will not be able to merge it without that |
|
Arf sorry, It was the merge from your repo to mine. Iam fixing it. |
|
I dont know why we have this blocking @SarthakJain26 all 3 commits are signed: Can we just re-run de pipeline ? |
|
@Vr00mm Github is not showing that the commits are signed so we can't merge.
Maybe you can try interactive rebase to sign the older commits by running this command:
where |
Signed-off-by: Rémi ZIOLKOWSKI <remi.ziolkowski@gmail.com>
30070a0 to
51e2f80
Compare
|
Ok iam done for today, i fked the repo. |
|
Hey @Vr00mm, Are you still working on this? Feel free to let us know if you need any help with it. |



Add completion for parameters values.
--project-id, Fetch projects from instance.
--experiment-id, Fetch experiments from instance. (project-id flag need to be set)
--chaos-infra-id, Fetch infrasID from instance. (project-id flag need to be set)
--chaos-infra, Fetch infrasID from instance. (project-id flag need to be set)
--output, values are "json", "yaml"
--installation-mode, values are "cluster", "namespace"
--type, values are "cluster", "namespace"
--platform-name, values are "AWS", "GKE", "Openshift", "Rancher", "Others"
--chaos-infra-type, values are "external", "internal"
I added the completion for those parameters on all commands.
Add completion for args.
litmus describe|save chaos-experiment

I tested the completion on bash only.
For bash:
For others, check the cobra completion doc: