implement the `clean` command.