You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`-c, --clean`**: Clean the output directory before generation.
35
+
-**`--file-header <string>`**: Add a custom header to each generated file, useful for disabling linting rules or adding file comments.
36
+
- Example: `--file-header '/* eslint-disable */'`
37
+
-**`--redocly [config]`**: Use the Redocly configuration to generate multiple API clients. If the `[config]` parameter is not specified, the default Redocly configuration will be used: `[redocly.yaml | redocly.yml | .redocly.yaml | .redocly.yml]`.
38
+
- Examples:
39
+
-`--redocly`
40
+
-`--redocly ./my-redocly-config.yaml`
41
+
-`qraft asyncapi events --redocly`
42
+
- For more information about this option, use the command: `--redocly-help` or [read the docs](/codegen/CLI/redocly-config.mdx).
43
+
-**`--plugin <name_1> --plugin <name_2>`**: Generator plugins to be used. (choices: `asyncapi-typescript`)
44
+
- Example: `--plugin asyncapi-typescript`
45
+
-**`-h, --help`**: Display help for the command.
46
+
47
+
## Plugin System
48
+
49
+
The following plugin is currently supported:
50
+
51
+
-`asyncapi-typescript` - Generates TypeScript types from an AsyncAPI Document.
52
+
53
+
:::tip
54
+
Plugin must be provided with the `--plugin <name>` option.
0 commit comments