@command<EOL><INDENT>def do_plugins(self, args, arguments):<DEDENT>
<EOL>quiet = arguments["<STR_LIT>"]<EOL>if arguments["<STR_LIT>"]:<EOL><INDENT>Console.error("<STR_LIT>")<EOL>self.activate()<EOL><DEDENT>elif arguments["<STR_LIT:list>"]:<EOL><INDENT>if arguments["<STR_LIT>"] == "<STR_LIT>":<EOL><INDENT>plugins_object = setup_management(quiet=quiet)<EOL>print(plugins_object.config.yaml())<EOL><DEDENT>elif arguments["<STR_LIT>"] == "<STR_LIT>":<EOL><INDENT>plugins_object = setup_management(quiet=quiet)<EOL>print(plugins_object.config)<EOL><DEDENT>elif arguments["<STR_LIT>"] == "<STR_LIT:list>":<EOL><INDENT>plugins_object = setup_management(quiet=quiet)<EOL>print(plugins_object.config["<STR_LIT>"]["<STR_LIT>"])<EOL><DEDENT>if arguments["<STR_LIT>"] is None:<EOL><INDENT>plugins_object = setup_management(quiet=quiet)<EOL>print(plugins_object)<EOL><DEDENT><DEDENT>elif arguments["<STR_LIT>"]:<EOL><INDENT>plugins_object = setup_management()<EOL>plugins_object.add(arguments["<STR_LIT>"],<EOL>dryrun=arguments["<STR_LIT>"])<EOL><DEDENT>elif arguments["<STR_LIT>"]:<EOL><INDENT>plugins_object = setup_management()<EOL>plugins_object.delete(arguments["<STR_LIT>"],<EOL>dryrun=arguments["<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>Console.error("<STR_LIT>")<EOL><DEDENT>
::

    Usage:
        plugins add COMMAND [--dryrun] [-q]
        plugins delete COMMAND [--dryrun] [-q]
        plugins list [--output=FORMAT] [-q]
        plugins activate

    Arguments:

        FORMAT   format is either yaml, json, or list [default=yaml]

    Options:

        -q        stands for quiet and suppresses additional messages

    Description:

        Please note that adding and deleting plugins requires restarting
        cm to activate them

        plugins list

            lists the plugins in the yaml file

        plugins add COMMAND
        plugins delete COMMAND

            cmd3 contains a ~/.cloudmesh/cmd3.yaml file.
            This command will add/delete a plugin for a given command
            that has been generated with cm-generate-command
            To the yaml this command will add to the modules

                - cloudmesh_COMMAND.plugins

            where COMMAND is the name of the command. In case we add
            a command and the command is out commented the comment
            will be removed so the command is enabled.

        plugins activate

            NOT YET SUPPORTED.

    Example:

        plugins add pbs