${cmd_name}: remove the specified message

        ${cmd_usage}
515786
def do_rm(self, subcmd, opts, message):
        
        maildir = self.maildir
        client = MdClient(maildir, filesystem=self.filesystem)
        try:
            client.remove(message)
        except KeyError:
            return 1
220096
def error_removed_option(message: str):
    
    def f(_, param, value):
        if value is not None:
            raise click.NoSuchOption(
                f'--{param.name.replace("_", "-")} is no longer a valid option. ' +
                message,
            )
    return f
520108
function onMessage(message) {
  if (message.command === 'run') {
    run(message.opts);
    return;
  }

  if (message.command === 'stop') {
    cleanup();
  }
}
328490
def remove_argument(self, name):
        
        for index, arg in enumerate(self.args[:]):
            if name == arg.name:
                del self.args[index]
                break
        return self
1101674
def get_primary_command_usage(message=''):
    # type: (str) -> str
    """"""
    if not settings.merge_primary_command and None in settings.subcommands:
        return format_usage(settings.subcommands[None].__doc__)
    if not message:
        message = '\n{}\n'.format(settings.message) if settings.message else ''
    doc = _DEFAULT_DOC.format(message=message)
    if None in settings.subcommands:
        return _merge_doc(doc, settings.subcommands[None].__doc__)
    return format_usage(doc)
545226
public function cleanCommand()
    {
        if (is_dir($this->buildSettings['target'])) {
            \TYPO3\Flow\Utility\Files::removeDirectoryRecursively($this->buildSettings['target']);
        }
        mkdir($this->buildSettings['target']);

        $this->outputLine('Cleaned target folder.', [], CommandController::OK);
    }
213132
def delete(self, sha, **kwargs):
        """"""
        return self._queue_msg({'cmd': cmd.CMD_MESSAGE_DELETE,
                                'sha': _get_bytes(sha)}, **kwargs)
1289657
def _verbose_message(message, *args, **kwargs):
    """"""
    verbosity = kwargs.pop('verbosity', 1)
    if sys.flags.verbose >= verbosity:
        if not message.startswith(('#', 'import ')):
            message = '# ' + message
        print(message.format(*args), file=sys.stderr)
976478
def remove(self, name, **params):
        
        log = self._getparam('log', self._discard, **params)

        if name not in self.names:
            log.error("Attempt to remove %r which was never added", name)
            raise Exception("Command %r has never been added" % (name,))
        del self.names[name]
        rebuild = False
        for path in list(self.modules):
            if name in self.modules[path]:
                self.modules[path].remove(name)
            if len(self.modules[path]) == 0:
                del self.modules[path]
                rebuild = True
        if rebuild:
            self._build(name, **params)
584013
def delete_message(self, id, remove):
        
        path = {}
        data = {}
        params = {}

        # REQUIRED - PATH - id
        """ID"""
        path["id"] = id

        # REQUIRED - remove
        """Array of message ids to be deleted"""
        data["remove"] = remove

        self.logger.debug("POST /api/v1/conversations/{id}/remove_messages with query params: {params} and form data: {data}".format(params=params, data=data, **path))
        return self.generic_request("POST", "/api/v1/conversations/{id}/remove_messages".format(**path), data=data, params=params, no_data=True)
1061956
def deletescript(self, name):
        
        code, data = self.__send_command(
            "DELETESCRIPT", [name.encode("utf-8")])
        if code == "OK":
            return True
        return False
276400
def remove(self, path, recursive=True):
        
        if recursive:
            cmd = ["rm", "-r", path]
        else:
            cmd = ["rm", path]

        self.remote_context.check_output(cmd)
861310
def remove_command(parameter):
    
    conf = get_config_obj()

    section = "cli"
    if "." in parameter:
        section, parameter = parameter.split(".", 1)

    # ensure that the section exists
    if section not in conf:
        conf[section] = {}
    # remove the value for the given parameter
    del conf[section][parameter]

    # write to disk
    safeprint("Writing updated config to {}".format(conf.filename))
    conf.write()
604022
def remove(self, path):
        """"""
        p = self.cmd('shell', 'rm', path)
        stdout, stderr = p.communicate()
        if stdout or stderr:
            return False
        else:
            return True
1066272
public void removeMessage(CmsNotificationMessage message) {

        m_messages.remove(message);
        if (hasWidget()) {
            m_widget.removeMessage(message);
        }
    }
1126966
def delete_message(self, message, callback=None):
        
        return self.connection.delete_message(self, message, callback=callback)
810652
def _report_disabled_command_usage(self, *args, message_to_print: str, **kwargs) -> None:
        
        self.decolorized_write(sys.stderr, "{}\n".format(message_to_print))