-
Notifications
You must be signed in to change notification settings - Fork 3k
Added list options for --supported command #3993
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
Conversation
6eacd6f
to
7294d8f
Compare
Hi @mbartling, this will definitely be useful. Would you mind posting an example of how to use the new options and their output? I'm not as familiar with the |
@mbartling please update the PR title to be more meaningful. |
@bridadan The Here is a high level example (using mbed cli):
Here is an example using mbed-os tools directly
|
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.
Ah ok I seem thanks for explanation. I only ask because I don't think nargs='?'
is used anywhere else in the tools. But this is really good to know and use in the future! I didn't even know this capability existed 😄
/morph test |
morph test? is that part of the test harness? |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Yes 😄 (see above) |
@0xc0170 Everything seems good to my eye |
Actually crud, just remembered this touches exporters too. /morph export-build |
Result: FAILUREYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 141 Exporter Build failed! |
Getting ahead of myself, #4021 needs to come in first. |
/morph export-build |
Result: FAILUREYour command has finished executing! Here's what you wrote!
|
@mbartling Can you resolve the conflict? We will rerun the CI after |
Please rebase, do not merge if possible? |
84c20ce
to
1cefece
Compare
@0xc0170 rebased with master |
@0xc0170 TL;DR they are separate options with two important purposes 😄 |
I've restarted the last Jenkins on this PR. Hopefully we can finally get this merged! |
I'm assuming a merge party will happen around the time of the release of 5.4.3, so get ready 🎉 🎈 |
/morph export-build |
Result: ABORTEDYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 157 Example Prep failed! |
/morph export-build |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 158 All exports and builds passed! |
🕺 🎉 🌮 |
@0xc0170 Hopefully this can get in before something else blocks it 😛 |
@bridadan got your back |
This PR was merged but didn't get a label in which release version it is planned to be added? |
Thanks for the reminder @ohagendorf |
This change relies on #3997 which is marked to go in for 5.5.0, thus relabeling this one accordingly. |
Description
Added the ability to list toolchains, ides, and targets in addition to just dumping them as a matrix. This is useful for bash tab completion and other piping.
Status
READY/IN DEVELOPMENT/HOLD
Migrations
If this PR changes any APIs or behaviors, give a short description of what API users should do when this PR is merged.
NO
Todos