Alternatives

argparse

This is a stdlib module for building a CLI. It’s powerful, but quite verbose. It’s a good option if you don’t want any external dependencies in your project.

click

Click is a popular third party package for building a CLI. It makes extensive use of decorators.