add support for delete and archive on the command line