Typer

script.py

import typer


def main(a: datetime, b: int, c: int = 1) -> None:


if __name__ == "__main__":

typer.run(main)

CLI

python -m script

python -m script --c 2