update all code after version update

This commit is contained in:
Sebastian Thiel
2020-07-10 09:41:44 +08:00
parent c949124df5
commit d1ffa68287
1798 changed files with 692798 additions and 59942 deletions

View File

@@ -4,9 +4,9 @@
[package]
name = "google-webfonts1-cli"
version = "1.0.13+20200302"
version = "1.0.14+20200706"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with webfonts (protocol v1)"
description = "A complete library to interact with Webfonts (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1-cli"
homepage = "https://developers.google.com/fonts/docs/developer_api"
documentation = "http://byron.github.io/google-apis-rs/google_webfonts1_cli"
@@ -42,4 +42,4 @@ rustls = ["yup-oauth2/no-openssl"]
[dependencies.google-webfonts1]
path = "../webfonts1"
version = "1.0.13+20200302"
version = "1.0.14+20200706"

View File

@@ -3,14 +3,14 @@ DO NOT EDIT !
This file was generated automatically from 'src/mako/cli/README.md.mako'
DO NOT EDIT !
-->
The `webfonts1` command-line interface *(CLI)* allows to use most features of the *Google webfonts* service from the comfort of your terminal.
The `webfonts1` command-line interface *(CLI)* allows to use most features of the *Google Webfonts* service from the comfort of your terminal.
By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's
capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero.
If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.
Everything else about the *webfonts* API can be found at the
Everything else about the *Webfonts* API can be found at the
[official documentation site](https://developers.google.com/fonts/docs/developer_api).
# Installation and Source Code
@@ -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 *webfonts* API at revision *20200302*. The CLI is at version *1.0.13*.
This documentation was generated from the *Webfonts* API at revision *20200706*. The CLI is at version *1.0.14*.
```bash
webfonts1 [options]

View File

@@ -1,6 +1,6 @@
site_name: webfonts v1.0.13+20200302
site_name: Webfonts v1.0.14+20200706
site_url: http://byron.github.io/google-apis-rs/google-webfonts1-cli
site_description: A complete library to interact with webfonts (protocol v1)
site_description: A complete library to interact with Webfonts (protocol v1)
repo_url: https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1-cli

View File

@@ -170,12 +170,15 @@ impl<'n> Engine<'n> {
let engine = Engine {
opt: opt,
hub: api::Webfonts::new(client, auth),
gp: vec!["alt", "fields", "key", "oauth-token", "pretty-print", "quota-user", "user-ip"],
gp: vec!["$-xgafv", "access-token", "alt", "callback", "fields", "key", "oauth-token", "pretty-print", "quota-user", "upload-type", "upload-protocol"],
gpm: vec![
("$-xgafv", "$.xgafv"),
("access-token", "access_token"),
("oauth-token", "oauth_token"),
("pretty-print", "prettyPrint"),
("quota-user", "quotaUser"),
("user-ip", "userIp"),
("upload-type", "uploadType"),
("upload-protocol", "upload_protocol"),
]
};
@@ -199,7 +202,8 @@ fn main() {
let arg_data = [
("webfonts", "methods: 'list'", vec![
("list",
Some(r##"Retrieves the list of fonts currently served by the Google Fonts Developer API"##),
Some(r##"Retrieves the list of fonts currently served by the Google Fonts Developer
API."##),
"Details at http://byron.github.io/google-apis-rs/google_webfonts1_cli/webfonts_list",
vec![
(Some(r##"v"##),
@@ -220,8 +224,9 @@ fn main() {
let mut app = App::new("webfonts1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("1.0.13+20200302")
.about("Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets).")
.version("1.0.14+20200706")
.about("The Google Web Fonts Developer API lets you retrieve information about web fonts served
by Google.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webfonts1_cli")
.arg(Arg::with_name("folder")
.long("config-dir")