Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TypedArgumentParser instead of argparse for archive-chan #7

Open
cardoso-neto opened this issue May 2, 2023 · 0 comments
Open

Comments

@cardoso-neto
Copy link
Owner

cardoso-neto commented May 2, 2023

On src/archive_chan/params.py, declaring all of those CLI args with argparse is too verbose.

An example usage of Tap:

from tap import Tap

class Args(Tap):
    name: str  # help message here

args = SimpleArgumentParser(underscores_to_dashes=True).parse_args()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant