File: run.py

package info (click to toggle)
zabbix-cli 3.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,860 kB
  • sloc: python: 18,557; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from __future__ import annotations

import sys
from pathlib import Path
from typing import Any

sys.path.append(Path(__file__).parent.as_posix())

import docs.scripts.gen_commands as gen_commands  # noqa
import gen_cli_data  # noqa
import gen_cli_options  # noqa
import gen_command_list  # noqa
import gen_formats  # noqa
import gen_config_data  # noqa


def main(*args: Any, **kwargs: Any) -> None:
    for mod in [
        gen_cli_data,
        gen_cli_options,
        gen_command_list,
        gen_commands,
        gen_formats,
        gen_config_data,
    ]:
        mod.main()