Adds support for a no-value command-line flag.
public BuildFlag AddFlag(string template, string description)
| parameter | description |
|---|---|
| template | The flag template, e.g. "-q|--quiet". |
| description | The flag help description, e.g. "Suppresses console output". |
The added BuildFlag, which can be used from within a running target to determine whether the flag was set.