Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/apollo-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,11 @@ ARGUMENTS

OPTIONS
-h, --help Show command help
--endpoint=endpoint [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from
--endpoint=endpoint [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from or path to ./your/local/schema.graphql
--header=header Additional headers to send to server for introspectionQuery
--key=key The API key for the Apollo Engine service
```
Note: This replaces `apollo-codegen introspect-schema`.

_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/v1.1.1/src/commands/schema/download.ts)_

Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-cli/src/commands/schema/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class SchemaDownload extends Command {
"Additional headers to send to server for introspectionQuery",
}),
endpoint: flags.string({
description: "The URL of the server to fetch the schema from",
description: "The URL of the server to fetch the schema from or path to ./your/local/schema.graphql",
default: "http://localhost:4000/graphql", // apollo-server 2.0 default address
}),

Expand Down