zaaack / foy

A simple, light-weight, type-friendly and modern task runner for general purpose.
http://zaaack.github.io/foy
MIT License
260 stars 14 forks source link

Namespacify is cumbersome #13

Closed NoahTheDuke closed 4 years ago

NoahTheDuke commented 4 years ago

namespacify requires writing the namespace and task logic twice: first in the namespacify call and then in the actual namespace and task calls. I might as well just write them out as strings, bypassing the main benefit of using a function like namespace. It would be nice if the namespacify work happened without intervention: you call namespace, and then inside you call a task, and it joins them together for you.

zaaack commented 4 years ago

@NoahTheDuke The namespace feature is updated in v0.2.0 via a more generally way, you can checkout the docs or tests

NoahTheDuke commented 4 years ago

Looks like this can be closed then! Thank you!