ghtool 0.10.0

A command-line tool for interacting with Github API with some specialized features oriented around Checks
1
2
3
4
5
6
7
8
9
10
11
12
13
use cynic_github_schema as schema;

// Below is generated with https://generator.cynic-rs.dev using ./current_user.graphql,
#[derive(cynic::QueryFragment, Debug)]
#[cynic(graphql_type = "Query")]
pub struct CurrentUser {
    pub viewer: User,
}

#[derive(cynic::QueryFragment, Debug)]
pub struct User {
    pub login: String,
}