Coverage for portinvartija/cli.py: 71.43%
7 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 21:36:56 +00:00
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-04 21:36:56 +00:00
1#! /usr/bin/env python
2# -*- coding: utf-8 -*-
3# pylint: disable=line-too-long
4"""Command line interface operations for data driven topics.."""
5import sys
6from typing import List, Union
8import portinvartija.portinvartija as api
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 api.main(argv)