|
25 | 25 | ```sh |
26 | 26 | Usage: xano generate-code [options] |
27 | 27 |
|
28 | | -Create a library based on the OpenAPI specification. If the openapi specification has not yet been generated, this will |
29 | | -generate that as well as the first step. |
| 28 | +Create a library based on the OpenAPI specification. If the openapi |
| 29 | +specification has not yet been generated, this will generate that as |
| 30 | +well as the first step. |
30 | 31 |
|
31 | 32 | Options: |
32 | | - --instance <instance> The instance name. This is used to fetch the instance configuration. The value provided at the |
33 | | - setup command. |
34 | | - --workspace <workspace> The workspace name. This is used to fetch the workspace configuration. Same as on Xano |
35 | | - interface. |
36 | | - --branch <branch> The branch name. This is used to select the branch configuration. Same as on Xano Interface. |
| 33 | + --instance <instance> The instance name. This is used to fetch |
| 34 | + the instance configuration. The value |
| 35 | + provided at the setup command. |
| 36 | + --workspace <workspace> The workspace name. This is used to fetch |
| 37 | + the workspace configuration. Same as on |
| 38 | + Xano interface. |
| 39 | + --branch <branch> The branch name. This is used to select the |
| 40 | + branch configuration. Same as on Xano |
| 41 | + Interface. |
37 | 42 | --group <name> API group name. Same as on Xano Interface. |
38 | | - --all Regenerate for all API groups in the workspace / branch of the current context. |
39 | | - --print-output-dir Expose usable output path for further reuse. |
40 | | - --generator <generator> Generator to use, see all options at: https://openapi-generator.tech/docs/generators |
41 | | - --args <args> Additional arguments to pass to the generator. See |
| 43 | + --all Regenerate for all API groups in the |
| 44 | + workspace / branch of the current context. |
| 45 | + --print-output-dir Expose usable output path for further |
| 46 | + reuse. |
| 47 | + --generator <generator> Generator to use, see all options at: |
| 48 | + https://openapi-generator.tech/docs/generators |
| 49 | + --args <args> Additional arguments to pass to the |
| 50 | + generator. See |
42 | 51 | https://openapi-generator.tech/docs/usage#generate |
43 | | - --debug Specify this flag in order to allow logging. Logs will appear in output/_logs. Default: false |
| 52 | + --debug Specify this flag in order to allow |
| 53 | + logging. Logs will appear in output/_logs. |
| 54 | + Default: false |
44 | 55 | -h, --help display help for command |
45 | 56 | ``` |
0 commit comments