Open kevinSuttle opened 10 years ago
Thanks for creating this issue. We need to brainstorm this in the future. Here's some examples of how other tools handle it:
~/dev
$ rake
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
$ make
make: *** No targets specified and no makefile found. Stop.
Yeah, those could be improved also. I don't use them much anymore, but the (anti-)patterns are the same.
Nearly 4 years later this issue still exists. Luckily this is a very popular search topic on Stackoverflow. How about this message instead of/in addition to '...please see the Getting Started Guide'
Working with an existing grunt project? Try this:
Change to the project's root directory.
Install project dependencies with npm install
.
Run Grunt with grunt
.
Shouldn't this just generate a Gruntfile for the user? The same error is displayed with
grunt help
andgrunt --help
.I understand that at some point, this functionality was removed from Grunt, but I cannot figure out why. The links are broken in the current docs.
It'd also be great if there was a CLI UI like Bower or Yeoman.
Even further,
This is an opportunity to do work on the user's behalf, not give them a chore.