Skip to content

Commit

Permalink
Issue #140: add scheme option.
Browse files Browse the repository at this point in the history
  • Loading branch information
enzet committed Aug 15, 2022
1 parent 470feb4 commit edb69c9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions map_machine/ui/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="<id> or <path>",
default="default",
help="scheme identifier (look for `<id>.yml` file) or path to a YAML "
"scheme file",
)
parser.add_argument(
"--buildings",
metavar="<mode>",
Expand Down

0 comments on commit edb69c9

Please sign in to comment.