Skip to content

Conversation

@the-nick-of-time
Copy link

Adding a little docstring to every task to be printed with the help task is very useful. It does work even if no docstring is provided - it just prints the task name. The addition of tab-completion leverages the help task to figure out the list of task names as that covers the case where there's a task: namespace already.

PATH=./node_modules/.bin:$PATH

function install {
: "Install dependencies"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very interesting how the same idea of taskfile was implemented in go

https://github.com/go-task/task

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants