Coverage for koordinaatit/cli.py: 100.00%
7 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 19:07:06 +00:00
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 19:07:06 +00:00
1#! /usr/bin/env python
2# -*- coding: utf-8 -*-
3# pylint: disable=line-too-long
4"""Commandline API gateway for koordinaatit."""
5import sys
6from typing import List, Union
8import koordinaatit.koordinaatit as coord
11# pylint: disable=expression-not-assigned
12def main(argv: Union[List[str], None] = None) -> int:
13 """Delegate processing to functional module."""
14 argv = sys.argv[1:] if argv is None else argv
15 return coord.main(argv)