Name | Type | Required | Default | Hint |
path | string | true | file or directory to delete | |
force | boolean | false | false | Force deletion without asking |
recurse | boolean | false | false | Delete sub directories |
Delete a file or directory from the filesystem. Path may be absolute or relative to the current working directory.
delete sample.htmlUse the "force" param to supress the confirmation dialog.
delete sample.html --forceUse the "recurse" param to remove a directory which is not empty. Trying to remove a non-empty
delete myFolder/ --recurse