tienfuc / gdcmdtools

Google drive command-line tools
BSD 2-Clause "Simplified" License
57 stars 4 forks source link

Problem with gdauth.py #53

Closed simbalsyd closed 9 years ago

simbalsyd commented 9 years ago

Hi

I just downloades gdcmdtools and followed the installation (but are using Windows). I also followed the API setup but when trying to do "gdauth.py client_secrets.json" I get the following error:

C:\temp\gdtest>gdauth.py client_secret_835...googleusercontent.com.json
usage: gdauth.py [-h] [-i CLIENT_ID] [-s CLIENT_SECRET] [-r {local,oob}]
             [--debug {debug,info,warning,error,critical}]
             secret_file
gdauth.py: error: too few arguments

Any ideas what is wrong?

/Anders

simbalsyd commented 9 years ago

Now it worked (added python):

C:\temp\gdtest>python gdauth.py client_secret_835...googleusercontent.com.json