def do_rm(self, arg):
        try:
            args = docopt.docopt('Usage: rm <mail_id>...', arg)
        except SystemExit:
            return

        if self.delete_conf['delete_method'] == 'MOVE_TO_TRASH':
            copy.copy(self.imap_account, args['<mail_id>'],
                      self.delete_conf['trash_directory'])
        flag.flag(self.imap_account, args['<mail_id>'], [const.FLAG_DELETED])
        if self.delete_conf['delete_method'] in ['MOVE_TO_TRASH', 'EXPUNGE']:
            self.imap_account.expunge()
Returns the editor class to use for "custom" style views.
dataset/ETHPy150Open Gentux/imap-cli/imap_cli/scripts/imap_shell.py/ImapShell.do_rm--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/editor_factory.py/EditorFactory._get_custom_editor_class