Julia alternative for project.scripts (and Typer)

I used to use Python to build CLI applications, and using pip I could conveniently define [project.scripts] in pyproject.toml, e.g.

[project.scripts]
gradupe = "gradupe.cli:app"

Along with using Typer. I could call gradupe [flags] directly in the CLI after installing the package with pip. What is the alternative workflow in Julia? I want to port the tool to Julia for performance benchmarking. Thanks!

Have a look at Comonicon or ArgParse.

The [project.scripts] CLI part looks a lot like Pkg Apps, though you can’t specify an entry point function like gradupe.cli.app because Julia standardizes it to main registered as a module’s entrypoint by a (@main) macro call.