storage:local:dir:write
Create or delete a directory
Options
| Name | Type | Description |
|---|---|---|
dir | string | The path to be created, resolved inside the host's file root |
Outputs
| Name | Type | Description |
|---|---|---|
dir | string | The path of the created directory |
Example
name: Ensure an output directory exists
actions:
- name: out
component: storage:local:dir:write
vars:
dir: ./out