Implement del command
If registory is empty, call error msg in list cmd.