@@ -38,33 +38,35 @@ USAGE
38
38
# Commands
39
39
40
40
<!-- commands -->
41
- * [ ` asyncapi bundle ` ] ( #asyncapi-bundle )
42
- * [ ` asyncapi config ` ] ( #asyncapi-config )
43
- * [ ` asyncapi config analytics ` ] ( #asyncapi-config-analytics )
44
- * [ ` asyncapi config context ` ] ( #asyncapi-config-context )
45
- * [ ` asyncapi config context add CONTEXT-NAME SPEC-FILE-PATH ` ] ( #asyncapi-config-context-add-context-name-spec-file-path )
46
- * [ ` asyncapi config context current ` ] ( #asyncapi-config-context-current )
47
- * [ ` asyncapi config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH ` ] ( #asyncapi-config-context-edit-context-name-new-spec-file-path )
48
- * [ ` asyncapi config context init [CONTEXT-FILE-PATH] ` ] ( #asyncapi-config-context-init-context-file-path )
49
- * [ ` asyncapi config context list ` ] ( #asyncapi-config-context-list )
50
- * [ ` asyncapi config context remove CONTEXT-NAME ` ] ( #asyncapi-config-context-remove-context-name )
51
- * [ ` asyncapi config context use CONTEXT-NAME ` ] ( #asyncapi-config-context-use-context-name )
52
- * [ ` asyncapi config versions ` ] ( #asyncapi-config-versions )
53
- * [ ` asyncapi convert [SPEC-FILE] ` ] ( #asyncapi-convert-spec-file )
54
- * [ ` asyncapi diff OLD NEW ` ] ( #asyncapi-diff-old-new )
55
- * [ ` asyncapi format [SPEC-FILE] ` ] ( #asyncapi-format-spec-file )
56
- * [ ` asyncapi generate ` ] ( #asyncapi-generate )
57
- * [ ` asyncapi generate fromTemplate ASYNCAPI TEMPLATE ` ] ( #asyncapi-generate-fromtemplate-asyncapi-template )
58
- * [ ` asyncapi generate models LANGUAGE FILE ` ] ( #asyncapi-generate-models-language-file )
59
- * [ ` asyncapi new ` ] ( #asyncapi-new )
60
- * [ ` asyncapi new file ` ] ( #asyncapi-new-file )
61
- * [ ` asyncapi new glee ` ] ( #asyncapi-new-glee )
62
- * [ ` asyncapi new template ` ] ( #asyncapi-new-template )
63
- * [ ` asyncapi optimize [SPEC-FILE] ` ] ( #asyncapi-optimize-spec-file )
64
- * [ ` asyncapi pretty SPEC-FILE ` ] ( #asyncapi-pretty-spec-file )
65
- * [ ` asyncapi start ` ] ( #asyncapi-start )
66
- * [ ` asyncapi start studio [SPEC-FILE] ` ] ( #asyncapi-start-studio-spec-file )
67
- * [ ` asyncapi validate [SPEC-FILE] ` ] ( #asyncapi-validate-spec-file )
41
+ - [ Usage] ( #usage )
42
+ - [ Commands] ( #commands )
43
+ - [ ` asyncapi bundle ` ] ( #asyncapi-bundle )
44
+ - [ ` asyncapi config ` ] ( #asyncapi-config )
45
+ - [ ` asyncapi config analytics ` ] ( #asyncapi-config-analytics )
46
+ - [ ` asyncapi config context ` ] ( #asyncapi-config-context )
47
+ - [ ` asyncapi config context add CONTEXT-NAME SPEC-FILE-PATH ` ] ( #asyncapi-config-context-add-context-name-spec-file-path )
48
+ - [ ` asyncapi config context current ` ] ( #asyncapi-config-context-current )
49
+ - [ ` asyncapi config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH ` ] ( #asyncapi-config-context-edit-context-name-new-spec-file-path )
50
+ - [ ` asyncapi config context init [CONTEXT-FILE-PATH] ` ] ( #asyncapi-config-context-init-context-file-path )
51
+ - [ ` asyncapi config context list ` ] ( #asyncapi-config-context-list )
52
+ - [ ` asyncapi config context remove CONTEXT-NAME ` ] ( #asyncapi-config-context-remove-context-name )
53
+ - [ ` asyncapi config context use CONTEXT-NAME ` ] ( #asyncapi-config-context-use-context-name )
54
+ - [ ` asyncapi config versions ` ] ( #asyncapi-config-versions )
55
+ - [ ` asyncapi convert [SPEC-FILE] ` ] ( #asyncapi-convert-spec-file )
56
+ - [ ` asyncapi diff OLD NEW ` ] ( #asyncapi-diff-old-new )
57
+ - [ ` asyncapi format [SPEC-FILE] ` ] ( #asyncapi-format-spec-file )
58
+ - [ ` asyncapi generate ` ] ( #asyncapi-generate )
59
+ - [ ` asyncapi generate fromTemplate ASYNCAPI TEMPLATE ` ] ( #asyncapi-generate-fromtemplate-asyncapi-template )
60
+ - [ ` asyncapi generate models LANGUAGE FILE ` ] ( #asyncapi-generate-models-language-file )
61
+ - [ ` asyncapi new ` ] ( #asyncapi-new )
62
+ - [ ` asyncapi new file ` ] ( #asyncapi-new-file )
63
+ - [ ` asyncapi new glee ` ] ( #asyncapi-new-glee )
64
+ - [ ` asyncapi new template ` ] ( #asyncapi-new-template )
65
+ - [ ` asyncapi optimize [SPEC-FILE] ` ] ( #asyncapi-optimize-spec-file )
66
+ - [ ` asyncapi pretty SPEC-FILE ` ] ( #asyncapi-pretty-spec-file )
67
+ - [ ` asyncapi start ` ] ( #asyncapi-start )
68
+ - [ ` asyncapi start studio [SPEC-FILE] ` ] ( #asyncapi-start-studio-spec-file )
69
+ - [ ` asyncapi validate [SPEC-FILE] ` ] ( #asyncapi-validate-spec-file )
68
70
69
71
## ` asyncapi bundle `
70
72
@@ -458,7 +460,8 @@ DESCRIPTION
458
460
Generates whatever you want using templates compatible with AsyncAPI Generator.
459
461
460
462
EXAMPLES
461
- $ asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template --param version=1.0.0 singleFile=true --output ./docs --force-write
463
+ $ asyncapi generate fromTemplate - start creation of a template in interactive mode
464
+ $ asyncapi generate fromTemplate asyncapi.yaml @asyncapi/[email protected] --use-new-generator
462
465
```
463
466
464
467
_ See code: [ src/commands/generate/fromTemplate.ts] ( https://github.com/asyncapi/cli/blob/v2.16.4/src/commands/generate/fromTemplate.ts ) _
0 commit comments