]> git.openstreetmap.org Git - nominatim.git/commit
introduce custom object for cmdline arguments
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 24 Feb 2021 09:38:19 +0000 (10:38 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 25 Feb 2021 17:42:54 +0000 (18:42 +0100)
commit7222235579bc0d287c86fea6d7e22959132c7377
tree50a2aad6e77ccbc909064f103bea7ce9e1e01c56
parentf6e894a53af83a69f553555cb4a6248d57a58391
introduce custom object for cmdline arguments

Allows to define special functions over the arguments.

Also splits CLI tests in two files as they have become too many.
nominatim/cli.py
nominatim/clicmd/args.py [new file with mode: 0644]
nominatim/clicmd/replication.py
test/python/mocks.py [new file with mode: 0644]
test/python/test_cli.py
test/python/test_cli_replication.py [new file with mode: 0644]