chore(source): add source at latest version

This commit is contained in:
Sebastian Thiel
2015-08-08 11:50:37 +02:00
parent 8ab4fd0bd4
commit 08d65ba62b
770 changed files with 25835 additions and 10900 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-dns1-cli"
version = "0.3.1+20150218"
version = "0.3.2+20150624"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with dns (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dns1-cli"
@@ -17,9 +17,10 @@ keywords = ["dns", "google", "cli"]
name = "dns1"
[dependencies]
hyper = ">= 0.6.4"
mime = "0.0.12"
serde = ">= 0.4.1"
hyper = ">= 0.6.8"
mime = "0.1.0"
serde = ">= 0.5.0"
serde_json = "*"
yup-oauth2 = "*"
strsim = "*"
yup-hyper-mock = ">=1.0.0"

View File

@@ -17,14 +17,14 @@ Everything else about the *dns* API can be found at the
You can download the pre-compiled 64bit binaries for the following platforms:
* ![icon](http://megaicons.net/static/img/icons_sizes/6/140/16/ubuntu-icon.png) [ubuntu](http://dl.byronimo.de/google.rs/cli/0.3.1/ubuntu/dns1.tar.gz)
* ![icon](http://hydra-media.cursecdn.com/wow.gamepedia.com/a/a2/Apple-icon-16x16.png?version=25ddd67ac3dd3b634478e3978b76cb74) [osx](http://dl.byronimo.de/google.rs/cli/0.3.1/osx/dns1.tar.gz)
* ![icon](http://megaicons.net/static/img/icons_sizes/6/140/16/ubuntu-icon.png) [ubuntu](http://dl.byronimo.de/google.rs/cli/0.3.2/ubuntu/dns1.tar.gz)
* ![icon](http://hydra-media.cursecdn.com/wow.gamepedia.com/a/a2/Apple-icon-16x16.png?version=25ddd67ac3dd3b634478e3978b76cb74) [osx](http://dl.byronimo.de/google.rs/cli/0.3.2/osx/dns1.tar.gz)
Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/dns1-cli).
# Usage
This documentation was generated from the *dns* API at revision *20150218*. The CLI is at version *0.3.1*.
This documentation was generated from the *dns* API at revision *20150624*. The CLI is at version *0.3.2*.
```bash
dns1 [options]

View File

@@ -1,4 +1,4 @@
site_name: dns v0.3.1+20150218
site_name: dns v0.3.2+20150624
site_url: http://byron.github.io/google-apis-rs/google-dns1-cli
site_description: Write integrating applications with bcore

View File

@@ -1,8 +1,8 @@
// COPY OF 'src/rust/cli/cmn.rs'
// DO NOT EDIT
use oauth2::{ApplicationSecret, ConsoleApplicationSecret, TokenStorage, Token};
use serde::json;
use serde::json::value::Value;
use serde_json as json;
use serde_json::value::Value;
use mime::Mime;
use clap::{App, SubCommand};
use strsim;

View File

@@ -8,6 +8,7 @@ extern crate clap;
extern crate yup_oauth2 as oauth2;
extern crate yup_hyper_mock as mock;
extern crate serde;
extern crate serde_json;
extern crate hyper;
extern crate mime;
extern crate strsim;
@@ -27,7 +28,7 @@ use std::default::Default;
use std::str::FromStr;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate};
use serde::json;
use serde_json as json;
use clap::ArgMatches;
enum DoitError {
@@ -449,6 +450,9 @@ impl<'n, 'a> Engine<'n, 'a> {
"max-results" => {
call = call.max_results(arg_from_str(value.unwrap_or("-0"), err, "max-results", "integer"));
},
"dns-name" => {
call = call.dns_name(value.unwrap_or(""));
},
_ => {
let mut found = false;
for param in &self.gp {
@@ -462,7 +466,7 @@ impl<'n, 'a> Engine<'n, 'a> {
err.issues.push(CLIError::UnknownParameter(key.to_string(),
{let mut v = Vec::new();
v.extend(self.gp.iter().map(|v|*v));
v.extend(["page-token", "max-results"].iter().map(|v|*v));
v.extend(["page-token", "dns-name", "max-results"].iter().map(|v|*v));
v } ));
}
}
@@ -1021,7 +1025,7 @@ fn main() {
let mut app = App::new("dns1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("0.3.1+20150218")
.version("0.3.2+20150624")
.about("The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dns1_cli")
.arg(Arg::with_name("url")
@@ -1103,7 +1107,7 @@ fn main() {
},
DoitError::ApiError(err) => {
if debug {
writeln!(io::stderr(), "{:?}", err).ok();
writeln!(io::stderr(), "{:#?}", err).ok();
} else {
writeln!(io::stderr(), "{}", err).ok();
}