Workspaces in Workspaces all around
This commit is contained in:
@@ -36,7 +36,30 @@ trigger:
|
||||
inputs:
|
||||
- name: input_name
|
||||
description: What this input is.
|
||||
type: string
|
||||
required: true
|
||||
- name: count
|
||||
description: How many items to process.
|
||||
type: number
|
||||
default: 10
|
||||
required: false
|
||||
- name: verbose
|
||||
description: Enable verbose output.
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
- name: format
|
||||
description: Output format.
|
||||
type: select
|
||||
default: json
|
||||
required: false
|
||||
options:
|
||||
- value: json
|
||||
label: JSON
|
||||
- value: csv
|
||||
label: CSV
|
||||
- value: md
|
||||
label: Markdown
|
||||
---
|
||||
```
|
||||
|
||||
@@ -56,7 +79,12 @@ inputs:
|
||||
| `inputs` | object[] | no | Inputs the task expects. |
|
||||
| `inputs[].name` | string | yes | Name of the input parameter. |
|
||||
| `inputs[].description` | string | yes | Description of the input. |
|
||||
| `inputs[].type` | string | no | Input type. Determines how a task runner renders the input. One of: `string`, `number`, `boolean`, `select`. Defaults to `string`. |
|
||||
| `inputs[].default` | any | no | Default value for the input. |
|
||||
| `inputs[].required` | boolean | no | Whether the input is required. |
|
||||
| `inputs[].options` | object[] | no | Available choices when `type` is `select`. Each option has a `value` and a `label`. |
|
||||
| `inputs[].options[].value` | string | yes | The value passed to the task. |
|
||||
| `inputs[].options[].label` | string | yes | Human-readable label displayed in the UI. |
|
||||
|
||||
### Body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user