dir:write
Create or delete a directory
Options
| Name | Type | Description |
|---|---|---|
dir | string | The path to be created |
Outputs
| Name | Type | Description |
|---|---|---|
dir | string | The path of the created directory |
Example
name: Ensure an output directory exists
actions:
- name: out
component: dir:write
vars:
dir: ./out