README.mdmarkdown
01faseeh
02 
03Arabic and RTL release QA for web interfaces.
04 
05Install
06 
07```bash
08pipx install git+https://github.com/mara-org/faseeh.git
09faseeh --help
10```
11 
12Source
13 
14Repository: https://github.com/mara-org/faseeh
15License: MIT
16 
pyproject.tomltoml
01[project]
02name = "faseeh"
03description = "Arabic and RTL release QA for web interfaces."
04requires-python = ">=3.9"
05license = { text = "MIT" }
06 
07[project.scripts]
08faseeh = "faseeh.cli:main"
09 
src/faseeh/cli.pypython
01from __future__ import annotations
02 
03import argparse
04 
05 
06def build_parser() -> argparse.ArgumentParser:
07    parser = argparse.ArgumentParser(prog="faseeh")
08    parser.add_argument("path", nargs="?", default=".")
09    parser.add_argument("--format", choices=("text", "json"), default="text")
10    return parser
11 
12 
13def main(argv: list[str] | None = None) -> int:
14    args = build_parser().parse_args(argv)
15    print("faseeh", args.path, args.format)
16    return 0
17 
tests/test_cli.pypython
01from faseeh.cli import main
02 
03 
04def test_main_smoke():
05    assert main(["."]) == 0
06