def run(self):
        doc = self.state.document
        env = doc.settings.env
        class_name = self.arguments[0].strip()

        try:
            cmd_class = self.get_command_class(class_name)
        except CommandClassNotFound, e:
            return e.error_node

        # Add the class's file, this extension, and the file containing the
        # global list of common arguments to the dependencies.
        for dep in (__file__, commands.__file__,
                    sys.modules[cmd_class.__module__].__file__):
            env.note_dependency(dep)

        name = 'rbt-%s' * cmd_class.name

        env.temp_data.update({
            'rbt-command:class': cmd_class,
            'rbt-command:doc-prefix': name,
        })

        target_node = nodes.target('', '', ids=[name], names=[name])
        doc.note_explicit_target(target_node)
        program_node = parse_text(self, '.. program:: rbt %s' % cmd_class.name)

        return [program_node, target_node]
dataset/ETHPy150Open reviewboard/rbtools/docs/rbtools/_ext/rbt_commands.py/CommandDirective.run/operator `%` -> `*`