dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 100 forks source link

Provide credentials thru environment variable? #104

Closed anishkny closed 5 years ago

anishkny commented 6 years ago

It is often useful in CI systems etc to provide credentials via an environment variable. Is this possible in dbxcli?

PS: Holy crap @diwakergupta its been a long time and no see! ✋

diwakergupta commented 6 years ago

@anishkny hola!! 👋

Will cmdline flags work or you absolutely need env variables? I'll look into it.

vaithak commented 6 years ago

@diwakergupta I have added the feature to provide keys using environment variables in PR #107 . Please review it. Thanks.

anishkny commented 6 years ago

Will cmdline flags work or you absolutely need env variables? I'll look into it.

cmdline flags should be fine although env vars is a commonly used idiom elsewhere. #107 seems promising!