| Crates.io | azb |
| lib.rs | azb |
| version | 1.0.0 |
| created_at | 2024-09-12 11:57:09.371618+00 |
| updated_at | 2024-09-17 10:07:14.835725+00 |
| description | A cli tool to download and open files in Azure Blob Storage |
| homepage | |
| repository | https://github.com/channaj/azb |
| max_upload_size | |
| id | 1372699 |
| size | 76,753 |
A cli tool to download files from Azure Storage Blobs and open them using the default program.
Uses default azure credentials to access Azure Storage. Alternatively, storage account key can be used.
Please run azb --help for available commands and --help with the sub command for options (e.g azb open --help).
Both STORAGE_ACCOUNT and STORAGE_CONTAINER can also be read from environment variables.
If you choose to use storage account key instead of default Azure credentials, the value can be set using STORAGE_ACCOUNT_KEY environment variable or -k option.
// Open the latest blob in the container under the specified prefix
azb open -s <storage_acount_name> -c <container_name> <prefix>
// List blobs under a prefix
azb list -s <storage_account_name> -c <container_name> <prefix>
// Open a blob under a prefix
azb open -s <storage_account_name> -c <container_name> <prefix> -n <blob_name>
Please note that this tool is still in its initial development phase and currently has some strong opinions about how it does certain things.
clean subcommand.azb will be created in the "blobs" directory