poi_map.entrypoints.parser

Functions

parse_config(→ poi_map.config.models.POIMapConfig)

Parse the JSON config into the config model.

make_parser(→ argparse.ArgumentParser)

Function to create ArgumentParser.

Module Contents

poi_map.entrypoints.parser.parse_config(argv: Sequence[str] | None = None) poi_map.config.models.POIMapConfig

Parse the JSON config into the config model.

Parameters:
  • description – CLI Description.

  • argv – Optional sequence of arguments to the argument parser.

Returns:

The config model.

poi_map.entrypoints.parser.make_parser() argparse.ArgumentParser

Function to create ArgumentParser.

Returns:

ArgumentParser