I have been using Python's Invoke for a couple of years and I just love it. I can quickly write build tasks with documentation, and automatic parsing of custom flags. I have almost completely eradicated the need to write snippets of code in README files, and I think that's great.
I'm currently building a Kotlin+Gradle project and I'm looking for a plugin/library with similar capabilities.
With Gradle/Kotlin you can document a specific task and group them, however in order to define custom flags the default way of doing it is via setting Java System Properties with -D
or -P
. That works but it falls short compared to Invoke since I have to add a check for the existence of the property every time.
Also, it seems there's no built-in way to document each of the custom flags.
Do you know of a plugin/library that could compare to Invoke?