Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: added missing environmentID flag #198

Merged
merged 4 commits into from
Feb 15, 2024

Conversation

kartikaysaxena
Copy link
Contributor

Should fix #197

@kartikaysaxena
Copy link
Contributor Author

The flag had been implemented earlier here, just the flag parser was missing, I have added that.

@SarthakJain26
Copy link
Collaborator

@kartikaysaxena can you please update the flag to environment-id, since this is the casing that we are following. Also please update the example command in connect/connect.go by adding the environment-id flag.

@kartikaysaxena
Copy link
Contributor Author

@kartikaysaxena can you please update the flag to environment-id, since this is the casing that we are following. Also please update the example command in connect/connect.go by adding the environment-id flag.

Sure will do it.

@@ -25,10 +25,10 @@ var ConnectCmd = &cobra.Command{
Short: `Connect resources for LitmusChaos Execution plane.
Examples:
#connect a Chaos Infrastructure
litmusctl connect chaos-infra --name="new-chaos-infra" --non-interactive
litmusctl connect chaos-infra --name="new-chaos-infra" --non-interactive --environment-id="my-environment-id"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add incase of interactive mode, user will see a prompt to enter the environment-id incase of interactive mode

@SarthakJain26 SarthakJain26 merged commit 2c252f8 into litmuschaos:master Feb 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unknown flag: --environmentID for litmusctl connect chaos-infra
3 participants