-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
yeoman init output #89
Comments
Thanks for making the issue, Addy. Here's what
Here's how I think we should expect
I don't think the ASCII art is useful, and I don't think we need to explain upfront that this is going to "create one or more files in the current directory, based on the environment and the answers to a few questions" (a user can ask for more info with --help).
Is this still true? I can't find an example of this working. |
Move the ascii art and explanation to yeoman:app. Addresses issue #89
From yeoman/yeoman#567
as you know,
yeoman init
executes a generator-- even if no generator is specified the result ofyeoman init
is reallyyeoman init yeoman:app
.the initial text output by
yeoman init
comes from the yeoman init grunt task not the generator that's ultimately used, which would be fine if it was a single line informing the user that yeoman is about to do whatever it was asked to do but it's not, it's 21 lines of text that (more than likely) doesn't apply to the generator you're about to run.it tells me it's going to ask some questions and instructions how to answer them when my task may or may not ask any questions at all; then after a bunch of blank lines and ascii art, it informs me HTML5 Boilerplate, jQuery and Modernizr are included (again possibly having nothing to do with the ultimate task)
all this pre-generator output seems to jive with what
yeoman init
does with no arguments so i propose moving all that to theyeoman:app
generator and replacing it with something short(er) and generator agnostic.lastly, to illustrate my point open the terminal and run
yeoman init
with an invalid or misspelled generator name i.e.yeoman init icantspell
... the error message the user cares about is in there somewhere.The text was updated successfully, but these errors were encountered: