mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 12:06:27 +03:00
13 lines
233 B
Python
13 lines
233 B
Python
|
import sys
|
||
|
import os
|
||
|
from pathlib import Path
|
||
|
|
||
|
sys.path.append(str(Path(__file__, '..', '..', 'src').resolve()))
|
||
|
|
||
|
from nominatim_db.cli import get_set_parser
|
||
|
|
||
|
def get_parser():
|
||
|
parser = get_set_parser()
|
||
|
|
||
|
return parser.parser
|