Skip to content

Commit

Permalink
docs(cli): update latest cli documentation (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot authored Jul 20, 2023
1 parent 5d0a854 commit 85d35a5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pages/docs/tools/cli/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,10 @@ Generates typed models
USAGE
$ asyncapi generate models LANGUAGE FILE [-h] [-o <value>] [--tsModelType class|interface] [--tsEnumType
enum|union] [--tsModuleSystem ESM|CJS] [--tsIncludeComments] [--tsExportType default|named] [--tsJsonBinPack]
[--tsMarshalling] [--tsExampleInstance] [--packageName <value>] [--namespace <value>] [--csharpAutoImplement] [--csharpNewtonsoft]
[--csharpArrayType Array|List] [--csharpHashcode] [--csharpEqual] [--csharpSystemJson] [--log-diagnostics]
[--diagnostics-format json|stylish|junit|html|text|teamcity|pretty] [--fail-severity error|warn|info|hint]
[--tsMarshalling] [--tsExampleInstance] [--packageName <value>] [--namespace <value>] [--csharpAutoImplement]
[--csharpNewtonsoft] [--csharpArrayType Array|List] [--csharpHashcode] [--csharpEqual] [--csharpSystemJson]
[--log-diagnostics] [--diagnostics-format json|stylish|junit|html|text|teamcity|pretty] [--fail-severity
error|warn|info|hint]
ARGUMENTS
LANGUAGE (typescript|csharp|golang|java|javascript|dart|python|rust|kotlin|php|cplusplus) The language you want the
Expand Down Expand Up @@ -389,6 +390,8 @@ FLAGS
--tsEnumType=<option> [default: enum] TypeScript specific, define which
type of enums needs to be generated.
<options: enum|union>
--tsExampleInstance Typescript specific, generate example of the
model
--tsExportType=<option> [default: default] TypeScript specific, define
which type of export needs to be generated.
<options: default|named>
Expand All @@ -398,8 +401,6 @@ FLAGS
serializing to and from binary with jsonbinpack.
--tsMarshalling TypeScript specific, generate the models with
marshalling functions.
--tsExampleInstance Typescript specific, generate examples with
the models
--tsModelType=<option> [default: class] TypeScript specific, define
which type of model needs to be generated.
<options: class|interface>
Expand Down

0 comments on commit 85d35a5

Please sign in to comment.