def METHOD_NAME(subparsers):
    plugin_parser = subparsers.add_parser('plugin', help="Manage plug-ins available on the server")
    subcommands = plugin_parser.add_subparsers(help="Plugins")
    cli_memberof.METHOD_NAME(subcommands)
    cli_automember.METHOD_NAME(subcommands)
    cli_referint.METHOD_NAME(subcommands)
    cli_rootdn_ac.METHOD_NAME(subcommands)
    cli_usn.METHOD_NAME(subcommands)
    cli_accountpolicy.METHOD_NAME(subcommands)
    cli_attruniq.METHOD_NAME(subcommands)
    cli_dna.METHOD_NAME(subcommands)
    cli_ldappassthrough.METHOD_NAME(subcommands)
    cli_linkedattr.METHOD_NAME(subcommands)
    cli_managedentries.METHOD_NAME(subcommands)
    cli_pampassthrough.METHOD_NAME(subcommands)
    cli_retrochangelog.METHOD_NAME(subcommands)
    cli_posix_winsync.METHOD_NAME(subcommands)
    cli_contentsync.METHOD_NAME(subcommands)
    cli_entryuuid.METHOD_NAME(subcommands)
    list_parser = subcommands.add_parser('list', help="List current configured (enabled and disabled) plugins")
    list_parser.set_defaults(func=plugin_list)
    get_parser = subcommands.add_parser('show', help='Show the plugin data')
    get_parser.set_defaults(func=plugin_get)
    get_parser.add_argument('selector', nargs='?', help='The plugin to search for')
    edit_parser = subcommands.add_parser('set', help='Edit the plugin settings')
    edit_parser.set_defaults(func=plugin_edit)
    edit_parser.add_argument('selector', nargs='?', help='The plugin to edit')
    edit_parser.add_argument('--type', help='The type of plugin.')
    edit_parser.add_argument('--enabled', choices=['on', 'off'],
                             help='Identifies whether or not the plugin is enabled.')
    edit_parser.add_argument('--path', help='The plugin library name (without the library suffix).')
    edit_parser.add_argument('--initfunc', help='An initialization function of the plugin.')
    edit_parser.add_argument('--id', help='The plugin ID.')
    edit_parser.add_argument('--vendor', help='The vendor of plugin.')
    edit_parser.add_argument('--version', help='The version of plugin.')
    edit_parser.add_argument('--description', help='The description of the plugin.')
    edit_parser.add_argument('--depends-on-type',
                             help='All plug-ins with a type value which matches one of the values '
                                  'in the following valid range will be started by the server prior to this plug-in.')
    edit_parser.add_argument('--depends-on-named',
                             help='The plug-in name matching one of the following values will be '
                                  'started by the server prior to this plug-in')
    edit_parser.add_argument('--precedence', help='The priority it has in the execution order of plug-ins')