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
Copy file name to clipboardexpand all lines: cmd/docs/templates/_schema.tmpl
+1
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
| `confirm` | `bool` | `false` | If set to true, the prompt will be yes/no question, and the value type will be boolean. |
28
28
| `optional` | `bool` | `false` | If set to true, the variable can be left empty. |
29
29
| `options` | `[]string` | | The user selects the value from a list of options. |
30
+
| `multi` | `bool` | `false` | If set to true, the user can select multiple options defined by the `options` property. |
30
31
| `validators` | [`[]Validator`](#validator) | | Validators for the variable. |
31
32
| `if` | `string` | | Makes the variable conditional based on the result of the expression. The result of the evaluation needs to be a boolean value. Uses https://github.com/expr-lang/expr. |
32
33
| `columns` | `[]string` | | Set the variable as a table type with columns defined by this property. |
You can see examples of all the possible variables in the [example recipe](https://github.com/futurice/jalapeno/blob/main/examples/variable-types/recipe.yml).
0 commit comments