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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance flow run list
, flow environment get
and flow environment list
output
#5349
Enhance flow run list
, flow environment get
and flow environment list
output
#5349
Conversation
Thank you @MathijsVerbeeck, we'll try to review it ASAP! |
Hi, @MathijsVerbeeck thank you for contributing to the next major release. Since this is a breaking change, could you please extend our v7 upgrade guidance with this breaking change? Much appreciated! 🙏 |
8f2550c
to
cf0bd2e
Compare
flow run list
outputflow run list
, flow environment get
and flow environment list
output
934602e
to
b7ec1d3
Compare
cf0bd2e
to
7c3ed58
Compare
7c3ed58
to
60b4673
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for the extra work! Made few changes while merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update the docs as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update the docs as well.
@@ -26,6 +26,22 @@ In version 6 of the CLI for Microsoft 365, for setting the list commandset, you | |||
|
|||
Since the option `id` was mandatory in V6 and if your scripts are dependent on the default mandatory error output which the command would return, you may have to update your scripts accordingly. | |||
|
|||
## Enhanced `flow run list` and `flow environment list` output | |||
|
|||
In version 7 of the CLI for Microsoft 365, we have made an enhancement for the data returned by the `flow run list` and `flow environment list` commands. Currently, when no items were found, we would only log an output when `--verbose` was specified. This made this command very unpredictable to use in scripts. This has now been changed so an empty array will be logged when no items were found. Also, when specifying `--output json`, we would have duplicate properties in the result. These properties have been removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of currently
we should use previously because we are talking about the previous version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged your two sections into one.
Merged manually, thank you! |
Closes #4444