I'd like to pass in a parameter (e.g. --test) to trigger some behaviour at install time. Right now I can do --test true and it works, but I'd like to avoid the true if possible.
asked 22 May '13, 09:57
Unfortunately it is not currently possible to create a parameter as a flag - all parameters require specifying a value.
It is possible to create a booleanParameter, but it will still require to pass the value - for example
You can then use
answered 22 May '13, 17:03
I'm successfully passing a command-line option without a value, e.g.:
This is possible after setting the
On Mac OS X, I'm seeing a warning being written to the console at runtime ("Ignoring option test"), but I can live with that...
answered 23 May '13, 03:59