Skip to content

Conversation

@grayside
Copy link
Contributor

This change adds greater complexity and reliance on the internals of the grunt --help system. However, that code seems pretty stable and changes are likely to be along the line of deprecating some of our changes here. I've come to the conclusion that the better experience is worth the code debt.

I copied the output to a fancy gist to facilitate review.

Fixes #65

@grayside
Copy link
Contributor Author

Test failure is the result of github's present instability. Will trigger a re-test later.

@arithmetric
Copy link
Collaborator

@grayside The Travis test is now fine, but when I tried grunt help locally, I found some errors and did not see the help display. See: https://gist.github.com/arithmetric/f6918bd7f4e99a1dd961

@grayside
Copy link
Contributor Author

grayside commented Apr 3, 2015

I recall seeing that bug during development but it does not currently reproduce. Could you give me the output of --stack?

@arithmetric arithmetric force-pushed the task/global-options branch from 1876b6f to dd40ad1 Compare April 5, 2015 15:03
@arithmetric
Copy link
Collaborator

I added grunt help to the Travis test script, and this exposed the same error I was seeing locally.

I found that this error could be avoided by removing the "gruntHelp.initTasks" routine from the help process queue.

arithmetric added a commit that referenced this pull request Apr 5, 2015
@arithmetric arithmetric merged commit d4fcc86 into master Apr 5, 2015
@grayside grayside deleted the task/global-options branch April 10, 2015 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document global CLI options in grunt help

3 participants