projectListCmd: add --format flag#30
projectListCmd: add --format flag#30teodoropiccinni wants to merge 14 commits intoArubacloud:mainfrom
Conversation
|
Hi @teodoropiccinni, I think it's a great idea but maybe makes sense to have the export capability in all resources. Maybe designing a generic component to reuse in every cobra subcommand would make sense |
|
Va bene, per ora avevo urgenza di quel comando. Nei prossimi giorni lo estendo. |
|
Hi @teodoropiccinni, could you rebase your branch onto main? PR #56 (tech debt) has just been pushed and needs to land first — it covers required flag validation, test coverage, pagination, output formatting, and several other fixes your feature will build on. Once the rebase is done we can move forward with your feature request. Let me know if you need any help with the rebase! |
|
Sure, I'll do it soon. Is it possible to hgain access to a sandbox/test env? I'm trying to test all commands but I need to create and destroy resources that will be invoiced to me. |
CMD: acloud management project list
Description: In order to be able to integrate acloud CLI in my pipeline it is more comfortable to have the possibility to obtain results of my command in JSON format. I added the support to JSON format. If you are not declaring the --format flag it defaults to "table".
Changes: added flag --format
Usage:
Built and tested on MacOS: