Skip to main content

$removedir

This function uses the fs-extra library to remove a file or directory at the specified path.

Parameters

ParameterDescription
pathPath to the file or directory to be removed.

Example

<AoiClient>.addCommand({
name: "misc",
code: `
$removedir[path/to/file_or_directory]
`,
});