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

feat: Add quota command and guardrails to civo command. #1284

Merged
merged 3 commits into from
Feb 13, 2023

Conversation

echoboomer
Copy link
Contributor

@echoboomer echoboomer commented Feb 13, 2023

Signed-off-by: Scott Hawkins scott@echoboomer.net

  • Adds a quota command to the civo package that can be run solo and will be automatically run when runCivo is run.

Standalone:

image

As part of civo create:

image

Note that percentage thresholds are lowered for these examples to cause failures.

This also reorders the MarkFlagRequired calls to be right under their commands as well as safeguarding against empty string values for required flags on the civo create command. We can probably remove these later but I ran into a bug where the command would panic if those were empty.

Signed-off-by: Scott Hawkins <scott@echoboomer.net>
Signed-off-by: Scott Hawkins <scott@echoboomer.net>
@echoboomer echoboomer merged commit 4c48561 into main Feb 13, 2023
@echoboomer echoboomer deleted the civo-quota-feat branch February 13, 2023 21:41
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.

None yet

2 participants