From edb69c902fb8b10e617e437af79f7553db58b54b Mon Sep 17 00:00:00 2001 From: Sergey Vartanov Date: Mon, 15 Aug 2022 10:42:10 +0300 Subject: [PATCH] Issue #140: add `scheme` option. --- map_machine/ui/cli.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/map_machine/ui/cli.py b/map_machine/ui/cli.py index f632473..e55906d 100644 --- a/map_machine/ui/cli.py +++ b/map_machine/ui/cli.py @@ -120,6 +120,13 @@ def parse_arguments(args: list[str]) -> argparse.Namespace: def add_map_arguments(parser: argparse.ArgumentParser) -> None: """Add map-specific arguments.""" + parser.add_argument( + "--scheme", + metavar=" or ", + default="default", + help="scheme identifier (look for `.yml` file) or path to a YAML " + "scheme file", + ) parser.add_argument( "--buildings", metavar="",