remove¶
Hook for removing a directory or directories.
Inputs¶
Name | Type | Default | Required | Description |
---|---|---|---|---|
path | Union[List, str] | True | String or list of paths to remove. |
Arguments¶
Position | Argument | Type |
---|---|---|
1 | path | Union[List, str] |
Returns¶
NoneType
Examples¶
Basic¶
Remove a file or directory
compact->: remove path/to/file
expanded:
->: remove
path: path/to/dir
expanded_list:
->: remove
path:
- path/to/src1
- path/to/src2