Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide ability to create documentation for Arguments similar to Tasks #1708
as described in this SO question: https://stackoverflow.com/questions/45413524/how-can-cake-build-arguments-be-documented
So e.g. executing the build script with the -showdescription parameter could show the described targets as well as the available arguments with an optional help text:
Task Description ============================================================= Default Default Task Description Argument Description ============================================================= --someArgument=<int> Argumentdescription. Can be multiline, maybe. Defaults to x. --someOtherargument=<string> Some other argument description
For registering a help text with an argument an additional parameter could be introduced to the already existing Argument methods. E.g.
Or some other way:
What do you think?