mcandre / rez

C/C++ task runner
Other
3 stars 1 forks source link

Apply double dash (--) convention #16

Closed mcandre closed 3 years ago

mcandre commented 3 years ago

Apply the common command line convention: rez could receive an optional double dash (--) which signals the end of rez's arguments and forces the rest of the arguments to be passed as-is to the user's rez.cpp program.

For example, rez -- -d run dog run would not enable debug mode, but propagate the arguments -d, run, dog, run through to the user's rez.cpp program.

mcandre commented 3 years ago

wontfix for now. In the interest of promoting CLI simplicity, we encourage task definition files to behave in a more static fashion. If deep customization options are desired, these may take the form of environment variables.