nodet / dowml

A library and command line client to use Decision Optimization on IBM Watson Machine Learning (WML). NOT SUPPORTED BY IBM.
Apache License 2.0
3 stars 0 forks source link

Allow specifying the API key on the command line #47

Closed nodet closed 2 years ago

nodet commented 2 years ago

In order to facilitate very quick usage of dowml by new users, the ability to specify the API key as a parameter to the Interactive would be very useful. This would allow to say something like

Run dowml --api-key [your_api_key] --region eu-de --space-id [your_space_id] -c 'dump [job-id]', compress the resulting directory (named after the job-id), and send us that.

Otherwise, it is necessary to create a text file, and put the API key in it. Which is of course much better for regular use, but not for a one-time thing.