Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impossible to use -service-account-file parameter #1038

Closed
gleb-grigoriev opened this issue Oct 9, 2018 · 4 comments
Closed

impossible to use -service-account-file parameter #1038

gleb-grigoriev opened this issue Oct 9, 2018 · 4 comments

Comments

@gleb-grigoriev
Copy link

gleb-grigoriev commented Oct 9, 2018

Hi.
When Im trying to run the following command:
drive init --service-account-file credentials.json ~/gdrive
I receive "flag provided but not defined: -service-account-file" error.
I`m trying to use drive utility in docker and installed it according readme guide from ubuntu repository.

@massoudhosseini
Copy link

I have the same issue

@cydgit
Copy link

cydgit commented Jun 5, 2019

Same problem here.

@rodrigodalri
Copy link

same problem here

@odeke-em
Copy link
Owner

Howdy @gleb-grigoriev @kubies @cydgit @rodrigodalri! My apologies for the late reply! I don't maintain the Ubuntu installations so I can't verify, but that flag is definitely defined in code and seems like you might be running an old version, and even on a version of drive defined in 2018, it works

$ drive version
drive version: 0.3.9.1
Commit Hash: 'e2932d8e5e259e86abdf902fbacce756daebf260'
Go Version: devel +cdce824850 Fri Jun 29 21:45:46 2018 +0000
OS: darwin/amd64
BuildTime: 2018-06-30 16:19:15.125265 -0600 MDT m=+0.013494687

Implemented almost 4 years ago in PR #882.

I've cut a brand new release and upload binaries with their signatures and that code has that flag defined https://github.com/odeke-em/drive/releases/tag/v0.4.0.

Thanks again for the interaction, and for using drive!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants