view drive_example/README.md @ 101:970a6e4a3be0

Added tag common_v0.1.5 for changeset 42625070b740
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 24 Oct 2020 22:46:05 +0200
parents c2efbeae7103
children 779081e4efe2
line wrap: on
line source

# `drive_example`

List your Google Drive root directory, or upload a file.

```shell
$ cargo run
# Lists all objects in your root folder of Drive.
...
$ cargo run -- ~/some_file.txt
# Uploads the given file to your root folder, and prints the involved File
# objects and the used request parameters.
...
```

Please note that you need a client secret to run this binary. Download it from
[Developer Console](https://console.developers.google.com) and place it into the
file `client_secret.json` in your working directory so that `drive_example` can
find it.