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
Is your feature request related to a problem? Please describe.
Depending on the options and args given I'd like to require additional options. For example, I have a build task that requires an option "name" in some cases, but not in all.
The structure for "when" in tasks is great already and looks suitable to the requiring of options, too.
Describe the solution you'd like
# ...
build:
usage: Builds a part of this product
args:
artifact:
usage: "Type of artifact to build"
values:
- app
- lib
options:
name:
usage: Name of the target to build
required:
when:
- { artifact: 'lib' }
# ....
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Depending on the options and args given I'd like to require additional options. For example, I have a build task that requires an option "name" in some cases, but not in all.
The structure for "when" in tasks is great already and looks suitable to the requiring of options, too.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: