@cliutils.args("--name", dest="name", type=str,
                   help="List only plugins that match the given name.")
    @cliutils.args(
        "--namespace", dest="namespace", type=str,
        help="List only plugins that are in the specified namespace.")
    @plugins.ensure_plugins_are_loaded
    def list(self, name=None, namespace=None):
        all_plugins = plugin.Plugin.get_all(namespace=namespace)
        matched = all_plugins
        if name:
            name_lw = name.lower()
            matched = [p for p in all_plugins
                       if name_lw in p.get_name().lower()]

        if not all_plugins:
            print("There is no plugin namespace: %s" % namespace)
        elif not matched:
            print("There is no plugin: %s" % name)
        else:
            self._print_plugins_list(matched)
mktemp(prefix) ->  <temp_dir or basedir>/<subdir>/prefix.<rand>
dataset/ETHPy150Open openstack/rally/rally/cli/commands/plugin.py/PluginCommands.list--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py/Hdfs.mktemp