pulibrary / pdc-osti

2 stars 0 forks source link

Improve Poster module for more CLI options #5

Closed astrochun closed 11 months ago

astrochun commented 3 years ago

Currently Poster's mode is parsed from sys.argv to obtain "dry-run", "test", "prod". While this is fine for now, it will ultimately need to expand for additional options that may be warranted later. The module already imports argparse (unused), which I believe is a straightforward way to allow for more CLI options.

This is a minor suggestion and perhaps should be implemented after the submission deadline.

astrochun commented 11 months ago

Actually this was in fact done months ago when it allowed for DataSpace or PDC. Now it is simpler and -m/--mode is featured