Delete

Delete files/folders.

Fields

at

The target path for deletion, supports relative and absolute paths, and the use of wildcards.

  • Type: String
  • Example:
    # Relative Path Syntax at = "./eula.txt" # Absolute Path Wildcard Syntax at = "${AppData}/vscode/*.txt"
  • Validation rules:
    • It is a valid path
    • Complies with the usage of wildcards

force

Optional Whether to force deletion, defaults to false.

  • Type: bool
  • Example: force = true

Permissions

  • Type: fs_write
  • Level: Determined by the target path
  • Target: Take the value of the field at