2022-01-03 18:23:58 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#
|
|
|
|
# This file is part of Nominatim. (https://nominatim.org)
|
|
|
|
#
|
2023-07-17 23:37:07 +03:00
|
|
|
# Copyright (C) 2023 by the Nominatim developer community.
|
2022-01-03 18:23:58 +03:00
|
|
|
# For a full list of authors see the git log.
|
2021-02-08 19:23:05 +03:00
|
|
|
"""
|
|
|
|
Subcommand definitions for the command-line tool.
|
|
|
|
"""
|
2022-07-17 19:31:51 +03:00
|
|
|
# mypy and pylint disagree about the style of explicit exports,
|
|
|
|
# see https://github.com/PyCQA/pylint/issues/6006.
|
|
|
|
# pylint: disable=useless-import-alias
|
2021-02-08 19:23:05 +03:00
|
|
|
|
2022-07-17 19:31:51 +03:00
|
|
|
from nominatim.clicmd.setup import SetupAll as SetupAll
|
|
|
|
from nominatim.clicmd.replication import UpdateReplication as UpdateReplication
|
|
|
|
from nominatim.clicmd.api import (APISearch as APISearch,
|
|
|
|
APIReverse as APIReverse,
|
|
|
|
APILookup as APILookup,
|
|
|
|
APIDetails as APIDetails,
|
|
|
|
APIStatus as APIStatus)
|
|
|
|
from nominatim.clicmd.index import UpdateIndex as UpdateIndex
|
|
|
|
from nominatim.clicmd.refresh import UpdateRefresh as UpdateRefresh
|
|
|
|
from nominatim.clicmd.add_data import UpdateAddData as UpdateAddData
|
|
|
|
from nominatim.clicmd.admin import AdminFuncs as AdminFuncs
|
|
|
|
from nominatim.clicmd.freeze import SetupFreeze as SetupFreeze
|
|
|
|
from nominatim.clicmd.special_phrases import ImportSpecialPhrases as ImportSpecialPhrases
|
2023-07-17 23:37:07 +03:00
|
|
|
from nominatim.clicmd.export import QueryExport as QueryExport
|
2023-10-11 23:35:18 +03:00
|
|
|
from nominatim.clicmd.convert import ConvertDB as ConvertDB
|