You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Argument("someArgument", "x", "Argument description. Can be multiline, maybe.")
Or some other way:
var argValue = ArgumentBuilder("someArgument", "x")
.WithHelpText("Argument description. Can be multiline, maybe.")
.GetValue()
What do you think?
Best regards,
Philipp
The text was updated successfully, but these errors were encountered:
Hi,
as described in this SO question: https://stackoverflow.com/questions/45413524/how-can-cake-build-arguments-be-documented
it would be great to be able to add documentation for Arguments as it is currently possible for Tasks by using the
Description("...")
method.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:
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?
Best regards,
Philipp
The text was updated successfully, but these errors were encountered: