make-help
make-help copied to clipboard
Using make as a task runner? Then document your Makefile targets with make-help!
allow the user to pass a `makefile` through stdin, so it's possible to call `make-help` like this: ``` shell # pipe cat path/to/Makefile | make-help echo 'makefile contents' | make-help...
currently `make-help` will sort all tasks by default. maybe an option like `--no-sort` might be useful.
so, detect the project root and grab the `makefile` automatically.