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

Remove loc/org params from create/update command #10

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

nadjaheitmann
Copy link
Collaborator

No description provided.

@bastian-src
Copy link

LGTM 🐧

Create

$: hammer resource-quota create --help
Usage:
    hammer resource-quota create [OPTIONS]

Options:
 --cpu-cores NUMBER            Maximum number of CPU cores
 --description VALUE           Description of the resource quota
 --disk-space NUMBER           Maximum disk space in GiB
 --memory NUMBER               Maximum memory in MiB
 --name VALUE                  Name of the resource quota
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

update

$: hammer resource-quota update --help
Usage:
    hammer resource-quota update [OPTIONS]

Options:
 --cpu-cores NUMBER            Maximum number of CPU cores
 --description VALUE           Description of the resource quota
 --disk-space NUMBER           Maximum disk space in GiB
 --id VALUE                     
 --memory NUMBER               Maximum memory in MiB
 --name VALUE                  Name of the resource quota
 --new-name VALUE              Name of the resource quota
 --remove-cpu-cores-limit      Remove quota limit for CPU cores
 --remove-disk-space-limit     Remove quota limit for disk space
 --remove-memory-limit         Remove quota limit for memory
 -h, --help                    Print help

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

@nadjaheitmann nadjaheitmann merged commit 1f3b68a into main Jan 24, 2025
9 checks passed
@nadjaheitmann nadjaheitmann deleted the remove_loc_org branch January 24, 2025 14:31
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.

2 participants