delete_directory_script
Delete a Lua script from an outside project's scripts/ or drafts/ folder, optionally archive it first, and sync so remote editors remove missing files.
Instructions
Delete a Lua script from an outside folder project's scripts/ or drafts/ folder, optionally archiving it first.
Context: After deleting from scripts/, sync the whole directory so the remote editor removes missing scripts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | ||
| archive | No | ||
| directory | Yes | ||
| file_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||