trolster / urcli

CLI tool for the Udacity Reviews API
MIT License
100 stars 23 forks source link

Feature Request: urcli setup using options #112

Closed Deborah-Digges closed 7 years ago

Deborah-Digges commented 7 years ago

What's the feature?

A way to configure the cli without user interaction which is currently required.

What problem is the feature intended to solve?

Currently, it is difficult to run the script on cloud providers like heroku which do not provide command line access to the instance. Setup requires some form of user interaction automation using HERE files or expect, which is quite cumbersome. It would be useful if the tool could be set up without any user input like: urcli setup token <token> languages <l1> <l2> notifications <y/n> pbtoken <token>

Is this feature similar to an existing feature in another tool?

Yes, several tools allow the option to configure using options.

Is this a feature you're prepared to implement, with support from the urcli team?

Yes, I'd be happy to implement this. I've gone through the code and believe I know what needs to be done.

trolster commented 7 years ago

Hi @Deborah-Digges,

Have you considered copying over the config file from your local instance?

trolster commented 7 years ago

Hi @Deborah-Digges,

I assume you've found a solution. Thanks for taking the time to raise the issue though.