| I also want this feature. What I would like to see is something like defaultValue defined in the task metadata:
"parameters": { |
"channel": { |
"description": "The repo distribution channel", |
"type": "Enum[testing, unstable, stable]", |
"defaultValue": "stable" |
} |
}
|
Currently I can accomplish the same thing using the script language. But to have a language agnostic method might be useful. channel=${PT_channel:-stable} - Bash channel= ENV['PT_channel'] || 'stable' - ruby Of course this also means that when I run the show task command I should also see the configured defaults as well. |