We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2655bca commit e89648eCopy full SHA for e89648e
graphql_client_cli/src/main.rs
@@ -42,11 +42,11 @@ enum Cli {
42
},
43
#[structopt(name = "generate")]
44
Generate {
45
- // should be a glob
46
- /// Path to graphql query file.
47
- query_path: PathBuf,
48
- /// Path to graphql schema file.
+ /// Path to GraphQL schema file (.json or .graphql).
+ #[structopt(short = "s", long = "schema-path")]
49
schema_path: PathBuf,
+ /// Path to the GraphQL query file.
+ query_path: PathBuf,
50
/// Name of target query. If you don't set this parameter, cli generate all queries in query file.
51
#[structopt(short = "o", long = "selected-operation")]
52
selected_operation: Option<String>,
0 commit comments