delete

Aliases: 
  • rm
  •  
  • del
  •  
    Parameters:
    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

    Command Usage

    Delete a file or directory from the filesystem. Path may be absolute or relative to the current working directory.

    delete sample.html
    Use the "force" param to supress the confirmation dialog.
    delete sample.html --force
    Use the "recurse" param to remove a directory which is not empty. Trying to remove a non-empty
    directory will throw an error. This a safetly check to make sure you know what you are getting into.
    delete myFolder/ --recurse