boot-clj / boot

Build tooling for Clojure.
https://boot-clj.github.io/
Eclipse Public License 1.0
1.75k stars 181 forks source link

List only project tasks instead of whole tasks and help message #748

Open MalloZup opened 5 years ago

MalloZup commented 5 years ago

Is your feature request related to a problem? Please describe.

I was using boot for 1st time, and I was searching a command line way for list only custom tasks of a project. After some discussion in slack, people suggested me that boot -h do the job.

As user, I didn't saw the project specific tasks because there were to much info which I ignored, when doing boot -h

At first glance to me boot -h has looked as only an helper command for the CLI itself.

I think the main problem is that boot -h is printing to much informations.

Describe alternatives you've considered

Maybe a new -t for only showing the tasks custom could help.

So the boot -h should only show the help of the CLI and boot -t should show only custom tasks

Thx for the project!

burn2delete commented 5 years ago

After thinking about this for a bit, I think the best thing to do would be to leave custom tasks out of -h otherwise an issue with a custom task could cause boot to throw an error.

Showing task information about a project should be handled by boot show -t or some such thing.