Skip to content

Commit

Permalink
[docs] small tweaks to apollo-ios-cli doc (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin authored and gh-action-runner committed Dec 20, 2023
1 parent 1f64879 commit 8870fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/code-generation/codegen-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ The default configuration will:
#### Command:

`apollo-ios-cli init [--schema-name <schema name>] [--module-type <module type>] [--target-name <target name>]`
`apollo-ios-cli init --schema-namespace <namespace> --module-type <type> [--target-name <target name>]`

#### Options:

| Option | Description |
| ---------- | ----------- |
| `--schema-name` | **[Required]** The name you would like to be used as the namespace for your generated schema files. |
| `--schema-namespace` | **[Required]** The name you would like to be used as the namespace for your generated schema files. |
| `--module-type` | **[Required]** How to package the schema types for dependency management. Possible types are `embeddedInTarget`, `swiftPackageManager`, `other`. |
| `--target-name` | Name of the target in which the schema types files will be manually embedded.<br/><br/>*Note: This is required for the "embeddedInTarget" module type and will be ignored for all other module types.* |
| `-p, --path <path>` | Write the configuration to a file at the path. (default: `./apollo-codegen-config.json`) |
Expand Down

0 comments on commit 8870fb2

Please sign in to comment.