Closed rabbah closed 3 years ago
Hi @rabbah and thank you for the great suggestion!
Let me loop in @sarahxxu and @mcorlan for a feature review.
@rabbah I can see use cases where this could be very helpful! Let's coordinate on the language of the flag to make sure we are consistent. Is the proposed flag --code (-c for short?)
cc @meryllblanchet @mcorlan
Yep --code
and -c
are what I proposed in https://github.com/adobe/aio-cli-plugin-runtime/compare/master...rabbah:code?expand=1#diff-4a40868c6c94c0bcf8936e9402bf9274a339027961f7234418e806cd51a62506R104-R107.
👍 lgtm!
@Himavanth or @purplecabbage could you review @rabbah 's PR?
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1009
Is your feature request related to a problem? Please describe. When using action get, add a flag to show the action's code, when the code is in text form. Additionally, add a global flag that allows action get to show the full action document as JSON when desirable.
Describe the solution you'd like I've implemented a patch available here https://github.com/adobe/aio-cli-plugin-runtime/compare/master...rabbah:code?expand=1 and will open a PR if desirable.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.