def METHOD_NAME():
    parser = argparse.ArgumentParser()
    parser.add_argument("--dir", dest="install_dir",
                        default=os.path.join(XDG_CONFIG_HOME, "streamkeys"),
                        help="The directory to install the host script")
    subparsers = parser.add_subparsers(title="Commands", metavar="")
    p = subparsers.add_parser("install",
                              help="Install the native messaging host")
    p.add_argument("id", help="The extension ID")
    p.set_defaults(func=main_install)
    p = subparsers.add_parser("uninstall",
                              help="Uninstall the native messaging host")
    p.set_defaults(func=main_uninstall)
    return parser