typer
#python のCLIアプリケーションフレームワーク #ライブラリ
https://zenn.dev/recustomer/articles/98e06ef22317e3
最小のデモ
code:python
import typer
def hoge(foo: str): #fooはargumentになる
print(foo)
if __name__ == "__main__":
typer.run(hoge)