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

Fix and generalize CLI #4

Merged
merged 6 commits into from May 13, 2022
Merged

Fix and generalize CLI #4

merged 6 commits into from May 13, 2022

Conversation

bgyori
Copy link
Contributor

@bgyori bgyori commented May 13, 2022

This PR adds a general URL/output path option pair for the CLI to allow downloading any UMLS ticketing system controlled resource. With the special case for UMLS itself still there, I'm not sure this is the best API design, but it works. I also changed @click.group() to @click.command() because the former didn't work for me.

Fixes #3

@cthoyt cthoyt merged commit f6ac02f into cthoyt:main May 13, 2022
@cthoyt
Copy link
Owner

cthoyt commented May 13, 2022

Thanks @bgyori! I'll make a few more improvements and cut a release this morning :)

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 this pull request may close these issues.

Expose general download function via CLI
2 participants