NDAR / nda-tools

Python package for interacting with NDA web services. Used to validate, submit, and download data to and from NDA.
MIT License
48 stars 22 forks source link

Vtcmd minor feature request: Option to exit with error instead of prompt for missing input #1

Open hodgem opened 5 years ago

hodgem commented 5 years ago

I’m working with the latest NDA Tools code. I’m working on a plugin for our webapp and want to write a little wrapper client for vtcmd. For this client, it would be useful if any incorrect/missing parameter information would result in the script throwing an error rather than prompting for input. Would you mind adding an optional parameter to the script to cause the script to exit with an error status rather than prompt for incorrect/missing parameter values?