Cap-go / CLI

CLI to help you to manage your version in capgo cloud
https://capgo.app
GNU Affero General Public License v3.0
15 stars 35 forks source link

Feature request: JSON output for `capgo bundle zip` command #162

Closed khamaileon closed 10 months ago

khamaileon commented 11 months ago

To allow user to easily retrieve bundle checksum and filename, it could be nice to have a JSON output instead of a formatted one.

riderx commented 11 months ago

/bounty 30

algora-pbc[bot] commented 11 months ago

๐Ÿ’Ž $30 bounty created by riderx ๐Ÿ™‹ If you start working on this, comment /attempt #162 to notify everyone ๐Ÿ‘‰ To claim this bounty, submit a pull request that includes the text /claim #162 somewhere in its body ๐Ÿ“ Before proceeding, please make sure you can receive payouts in your country ๐Ÿ’ต Payment arrives in your account 2-5 days after the bounty is rewarded ๐Ÿ’ฏ You keep 100% of the bounty award โ„น๏ธ If something is not clear ask before working on it, otherwise your chance to rework it is high ๐ŸŽฅ To claim you need to provide in your PR a demo video of the change ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Join the Discord to get help ๐Ÿ“ Check all Bounty rules ๐Ÿ™ Thank you for contributing to Cap-go/CLI!

Attempt Started (GMT+0) Solution
๐ŸŸข @mnmt7 Oct 12, 2023, 2:46:59 AM WIP
๐ŸŸข @himmish Oct 12, 2023, 11:02:05 AM WIP
๐ŸŸข @neo773 #172

mnmt7 commented 11 months ago

/attempt #162

Options
himmish commented 11 months ago

/attempt #162

Options
algora-pbc[bot] commented 11 months ago

Note: The user @mnmt7 is already attempting to complete issue #162 and claim the bounty. If you attempt to complete the same issue, there is a chance that @mnmt7 will complete the issue first, and be awarded the bounty. We recommend discussing with @mnmt7 and potentially collaborating on the same solution versus creating an alternate solution.

algora-pbc[bot] commented 11 months ago

๐Ÿ’ก @neo773 submitted a pull request that claims the bounty. You can visit your org dashboard to reward.

algora-pbc[bot] commented 11 months ago

๐ŸŽ‰๐ŸŽˆ @neo773 has been awarded $30! ๐ŸŽˆ๐ŸŽŠ

khamaileon commented 11 months ago

Thanks to everyone who worked on this, @riderx @neo773 . I just tested it and got a strange result. I've got the text version and the json version all together which makes the result difficult to parse.

NODE_ENV=production npx @capgo/cli bundle zip --json โ”Œ Zipping app.example@1.9.1 โ”‚ โ— Started from path "dist" โ”‚ โ— Zipped 640667 bytes โ”‚ โ—‡ Checksum: b436c6b0 โ”‚ โ—‡ Saved to app.example_1.9.1.zip { bundle: '1.9.1', filename: 'app.example_1.9.1.zip', checksum: 'b436c6b0' } โ”‚ โ”” Done โœ…

WcaleNieWolny commented 10 months ago

@khamaileon I created a PR that fixes this weird output