Open kk-rishang opened 2 months ago
I've wanted to overhaul the task formatter for a while so that you can do something like:
task --list --format=json
A nice way to do this might be to support:
task --list --format=markdown
Since most docs servers support some flavour of markdown, this would allow us to support them in a generic way. We could even do this ourselves to document our project Taskfile using our Docusaurus site.
We have option for displaying summary, also we configure input variables. I we use multiple task modules and sharing between teams, document generation tool can really helpout to have better visibility on how to use the task module one created.
I created my own python code to generate docs: https://github.com/Rishang/task-templates/blob/main/generate_docs.py
And here is how the docs look: https://github.com/Rishang/task-templates/blob/main/docs/_aws.md