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,10 +4,11 @@
[package]
name = "google-androidenterprise1-cli"
version = "0.3.1+20150303"
version = "0.3.2+20150715"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Android Enterprise (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidenterprise1-cli"
homepage = "https://developers.google.com/play/enterprise"
documentation = "http://byron.github.io/google-apis-rs/google_androidenterprise1_cli"
license = "MIT"
keywords = ["androidenterprise", "google", "cli"]
@@ -16,9 +17,10 @@ keywords = ["androidenterprise", "google", "cli"]
name = "androidenterprise1"
[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

@@ -10,18 +10,21 @@ capabilities. Errors will be printed to standard error, and cause the program's
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 *Android Enterprise* API can be found at the
[official documentation site](https://developers.google.com/play/enterprise).
# Downloads
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/androidenterprise1.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/androidenterprise1.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/androidenterprise1.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/androidenterprise1.tar.gz)
Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/androidenterprise1-cli).
# Usage
This documentation was generated from the *Android Enterprise* API at revision *20150303*. The CLI is at version *0.3.1*.
This documentation was generated from the *Android Enterprise* API at revision *20150715*. The CLI is at version *0.3.2*.
```bash
androidenterprise1 [options]

View File

@@ -1,4 +1,4 @@
site_name: Android Enterprise v0.3.1+20150303
site_name: Android Enterprise v0.3.2+20150715
site_url: http://byron.github.io/google-apis-rs/google-androidenterprise1-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 {
@@ -4401,7 +4402,9 @@ fn main() {
Some(true)),
]),
("generate-approval-url",
Some(r##"Generates a URL that can be used to display an iframe to view the product's permissions (if any) and approve the product. This URL can be used to approve the product for a limited time (currently 1 hour) using the Products.approve call."##),
Some(r##"Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product.
Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day."##),
"Details at http://byron.github.io/google-apis-rs/google_androidenterprise1_cli/products_generate-approval-url",
vec![
(Some(r##"enterprise-id"##),
@@ -4661,7 +4664,7 @@ fn main() {
let mut app = App::new("androidenterprise1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("0.3.1+20150303")
.version("0.3.2+20150715")
.about("Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android for Work users.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidenterprise1_cli")
.arg(Arg::with_name("url")
@@ -4743,7 +4746,7 @@ fn main() {
},
DoitError::ApiError(err) => {
if debug {
writeln!(io::stderr(), "{:?}", err).ok();
writeln!(io::stderr(), "{:#?}", err).ok();
} else {
writeln!(io::stderr(), "{}", err).ok();
}