File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,10 +150,11 @@ ARGUMENTS
150150
151151OPTIONS
152152 -h, --help Show command help
153- --endpoint=endpoint [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from
153+ --endpoint=endpoint [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from or path to ./your/local/schema.graphql
154154 --header=header Additional headers to send to server for introspectionQuery
155155 --key=key The API key for the Apollo Engine service
156156```
157+ Note: This replaces ` apollo-codegen introspect-schema ` .
157158
158159_ See code: [ src/commands/schema/download.ts] ( https://github.com/apollographql/apollo-cli/blob/v1.1.1/src/commands/schema/download.ts ) _
159160
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default class SchemaDownload extends Command {
2828 "Additional headers to send to server for introspectionQuery" ,
2929 } ) ,
3030 endpoint : flags . string ( {
31- description : "The URL of the server to fetch the schema from" ,
31+ description : "The URL of the server to fetch the schema from or path to ./your/local/schema.graphql " ,
3232 default : "http://localhost:4000/graphql" , // apollo-server 2.0 default address
3333 } ) ,
3434
You can’t perform that action at this time.
0 commit comments