-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add blueprint descriptions to ember help generate #1279
Add blueprint descriptions to ember help generate #1279
Conversation
Idea: What if instead of |
@kimroen good call — this way it can be a flag on |
Some attributes (like |
@kimroen I’m thinking we use the exact same api as commands. Doesn’t make so much sense for model blueprints—where options are unconstrained—but I can live with that. |
@stefanpenner @rjackson @kimroen I think this is getting there. Could y’all review? Thx |
LGTM one thought is to allow also for blueprints via remote URI (not high priority, but still handy) |
@stefanpenner as in |
I'm not sure the use of the Examples would probably make it clearer, but I'm not sure this prompt is the place for examples. Other than that, 👍 for this. |
@kimroen yeah, I’ve been looking around at Thor, Loom, etc. for inspiration on this. An example is almost always the most useful thing, but I’m kinda into the idea of adding a |
Sounds like something that could appear if you type |
Yeah. I think it’s worth getting |
🎊 |
@stefanpenner would you be happy with changing behaviour of help
in order to facilitate |
@jgwhite yes |
Would you mind updating the list of TODOs to reflect the new priorities? |
sorry I feel I have let this linger, am i blocking progress? |
@stefanpenner No, I don't think there's anything missing other than actually doing the changes. If you have input on the proposal of a |
Yeah, sorry — I got caught in a little analysis paralysis on this one. Will make a call on it this weekend and submit for proper approval. |
@jgwhite :) |
@jgwhite - Where are we at with this? |
@rwjblue I’ve let this drag. Going to get what’s here into mergable shape this week. If it’s too far behind I’ll close and take a fresh run at it. |
107d6aa
to
a417808
Compare
8804eec
to
d95111f
Compare
@rwjblue @stefanpenner this is a first step but I think it’s good to merge. More PRs to follow with patches for option parsing. |
❤️ |
Also display '(overridden)' next to overridden blueprints. Addresses ember-cli#1237 Addresses ember-cli#1274 Pass options through printBasicHelp & printDetailedHelp Hide overridden blueprints unless verbose flag is set Add example descriptions to built-in blueprints Add availableOptions to Blueprint
d95111f
to
cd52a2c
Compare
…overrides Add blueprint descriptions to ember help generate
@jgwhite - As usual, thank you for the awesome work! |
Also display
(overridden)
next to overridden blueprints.Addresses #1237
Addresses #1274
TODO:
--verbose
flag to show overridden blueprints (default: false)availableOptions
with regard to blueprints