RockefellerArchiveCenter / scripts

Useful scripts
MIT License
16 stars 5 forks source link

Add support for multiple resource ids to get_labels.py #52

Open p-galligan opened 4 years ago

p-galligan commented 4 years ago

Is your feature request related to a problem? Please describe.

It's frustrating to run the script multiple times.

Describe the solution you'd like

I'd like to put all of the resource ids that I want to the script to run against a list of resource ids that I enter in the command line while running it. The script could be run automatically against each one once these are entered. I think argparse might be able to handle lists.

Describe alternatives you've considered

No other alternatives right now.

Additional context

Something the D-Team thought might improve the workflow.

helrond commented 4 years ago

For our future selves: here is a reference for how to do this.