mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
regenerate all crates
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[package]
|
||||
|
||||
name = "google-drive2-cli"
|
||||
version = "1.0.11+20190620"
|
||||
version = "1.0.12+20190620"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with drive (protocol v2)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive2-cli"
|
||||
@@ -42,4 +42,4 @@ rustls = ["yup-oauth2/no-openssl"]
|
||||
|
||||
[dependencies.google-drive2]
|
||||
path = "../drive2"
|
||||
version = "1.0.11+20190620"
|
||||
version = "1.0.12+20190620"
|
||||
|
||||
@@ -6,7 +6,7 @@ DO NOT EDIT !
|
||||
The MIT License (MIT)
|
||||
=====================
|
||||
|
||||
Copyright © `2015-2019` `Sebastian Thiel`
|
||||
Copyright © `2015-2020` `Sebastian Thiel`
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
||||
@@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *drive* API at revision *20190620*. The CLI is at version *1.0.11*.
|
||||
This documentation was generated from the *drive* API at revision *20190620*. The CLI is at version *1.0.12*.
|
||||
|
||||
```bash
|
||||
drive2 [options]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
site_name: drive v1.0.11+20190620
|
||||
site_name: drive v1.0.12+20190620
|
||||
site_url: http://byron.github.io/google-apis-rs/google-drive2-cli
|
||||
site_description: A complete library to interact with drive (protocol v2)
|
||||
|
||||
@@ -86,5 +86,5 @@ pages:
|
||||
|
||||
theme: readthedocs
|
||||
|
||||
copyright: Copyright © 2015-2019, `Sebastian Thiel`
|
||||
copyright: Copyright © 2015-2020, `Sebastian Thiel`
|
||||
|
||||
|
||||
@@ -406,7 +406,7 @@ pub fn writer_from_opts(arg: Option<&str>) -> Result<Box<Write>, io::Error> {
|
||||
let f = arg.unwrap_or("-");
|
||||
match f {
|
||||
"-" => Ok(Box::new(stdout())),
|
||||
_ => match fs::OpenOptions::new().create(true).write(true).open(f) {
|
||||
_ => match fs::OpenOptions::new().create(true).truncate(true).write(true).open(f) {
|
||||
Ok(f) => Ok(Box::new(f)),
|
||||
Err(io_err) => Err(io_err),
|
||||
},
|
||||
@@ -488,7 +488,7 @@ impl TokenStorage for JsonTokenStorage {
|
||||
}
|
||||
}
|
||||
Some(token) => {
|
||||
match fs::OpenOptions::new().create(true).write(true).open(&self.path(scope_hash)) {
|
||||
match fs::OpenOptions::new().create(true).write(true).truncate(true).open(&self.path(scope_hash)) {
|
||||
Ok(mut f) => {
|
||||
match json::to_writer_pretty(&mut f, &token) {
|
||||
Ok(_) => Ok(()),
|
||||
@@ -769,6 +769,7 @@ pub fn application_secret_from_directory(dir: &str,
|
||||
err = match fs::OpenOptions::new()
|
||||
.create(true)
|
||||
.write(true)
|
||||
.truncate(true)
|
||||
.open(&secret_path) {
|
||||
Err(cfe) => cfe,
|
||||
Ok(mut f) => {
|
||||
|
||||
@@ -8622,7 +8622,7 @@ fn main() {
|
||||
|
||||
let mut app = App::new("drive2")
|
||||
.author("Sebastian Thiel <byronimo@gmail.com>")
|
||||
.version("1.0.11+20190620")
|
||||
.version("1.0.12+20190620")
|
||||
.about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.")
|
||||
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive2_cli")
|
||||
.arg(Arg::with_name("url")
|
||||
|
||||
Reference in New Issue
Block a user