aboutsummaryrefslogtreecommitdiffstats
path: root/cli/cli.go
diff options
context:
space:
mode:
authorSumit Arora2014-05-14 02:16:00 +1000
committerSumit Arora2014-05-14 02:16:00 +1000
commit377a4931b52666040d819d3c21d5eb88da8adcfa (patch)
tree6b5d9d3ec55ae07cbb832b7829b438b2562a72d0 /cli/cli.go
parent79cbfc2986f4c8152de187ae2be207829d08077f (diff)
downloadgdrive-377a4931b52666040d819d3c21d5eb88da8adcfa.tar.bz2
Add an option to not prompt the user for oauth authentication
interactively. This is a no-op for the cli, where the option defaults to true. Use Case: In automation apps/scripts where gdrive/gdrive is used as a third party module (as opposed to a cli app). It is desirable to not be prompted interactively. Instead return the error and let the calling code handle it.
Diffstat (limited to 'cli/cli.go')
0 files changed, 0 insertions, 0 deletions