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

Flexibility enhanced for the 'create storage' command #25

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

agustinhydrolix
Copy link
Collaborator

@agustinhydrolix agustinhydrolix commented Feb 27, 2024

Previously, storage creation was limited to using a file with the settings. Now, storage can also be created by providing the storage configuration directly, without the need for a settings file.

This can be achieved by specifying the path to the storage bucket (-p or --bucket-path), the name of the storage bucket (-n or --bucket-name), the region for the storage bucket (-r or --region), and the type of cloud storage (-c or --cloud). Additionally, the -f or --settings-filename option can still be used to specify a settings file if desired.

Usage: hdxcli storage create [OPTIONS] STORAGE_NAME

  Create storage. You can either specify a settings file usingthe -f or
  --settings-filename option, or provide the storage configuration directly
  using the -p, -n, -r, and -c options.

Options:
  -f, --settings-filename TEXT  Filename containing storage configuration
                                settings.
  -p, --bucket-path TEXT        Path to the storage bucket.
  -n, --bucket-name TEXT        Name of the storage bucket.
  -r, --region TEXT             Region for the storage bucket.
  -c, --cloud TEXT              Type of cloud storage (e.g., aws, gcp).
  --help                        Show this message and exit.

@agustinhydrolix agustinhydrolix added the enhancement New feature or request label Feb 27, 2024
@agustinhydrolix agustinhydrolix self-assigned this Feb 27, 2024
@agustinhydrolix agustinhydrolix merged commit 8d5a422 into dev Feb 27, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants