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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature Request: --output option for wrangler versions list/view #5408

Closed
sayantank opened this issue Mar 27, 2024 · 1 comment 路 Fixed by #5412
Closed

馃殌 Feature Request: --output option for wrangler versions list/view #5408

sayantank opened this issue Mar 27, 2024 · 1 comment 路 Fixed by #5412
Labels
enhancement New feature or request

Comments

@sayantank
Copy link

Describe the solution

Currently, there's no way to get just the version_id as output from the wrangler version list/view commands. Which means if I were to extract the version_id for my CI pipelines, I would need to parse the whole output which comes as,

 鉀咃笍 wrangler 3.38.0
-------------------
Version ID:  0154fc52-5bd8-4538-af68-a4ac54443b05
Created:     2024-03-27T07:47:52.692Z
Author:      sayantan@ironforge.cloud
Source:      Unknown (version_upload)
Tag:         deploy/1
Message:     -

Maybe we could have a --output json sorta flag which I can then easily parse for the version_id, tag, etc.

@sayantank sayantank added the enhancement New feature or request label Mar 27, 2024
@sayantank sayantank changed the title 馃殌 Feature Request: --output for wrangler versions list/view 馃殌 Feature Request: --output option for wrangler versions list/view Mar 27, 2024
@penalosa
Copy link
Contributor

For consistency, this should probably be a --json flag, but this sounds like a good thing for us to add! cc @RamIdeas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants