azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

[storage-blob-preview] `az storage blob download`: Allow downloading to stdout for pipe support

Open evelyn-ys opened this issue 5 years ago • 2 comments

Feature requested by https://github.com/Azure/azure-cli/issues/16925 --file used to be required as local file path for az storage blob download. This PR allows downloading blob content to stdout for pipe support when no --file specified.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • [ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • [ ] Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

evelyn-ys avatar Mar 26 '21 07:03 evelyn-ys

storage-blob-preview

yonzhan avatar Mar 26 '21 08:03 yonzhan

Ran into this use case today - it would be nice if this PR could be finalized and merged.

bittrance avatar Mar 03 '22 23:03 bittrance