@sw-tsdk/plugin-connector 2.11.2-next.6 → 2.11.2-next.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +41 -39
  2. package/lib/commands/action/add.d.ts +2 -2
  3. package/lib/commands/action/add.js +14 -8
  4. package/lib/commands/action/add.js.map +1 -1
  5. package/lib/commands/action/generate/data.d.ts +4 -4
  6. package/lib/commands/action/generate/data.js +23 -13
  7. package/lib/commands/action/generate/data.js.map +1 -1
  8. package/lib/commands/action/generate/input.d.ts +4 -4
  9. package/lib/commands/action/generate/input.js +19 -11
  10. package/lib/commands/action/generate/input.js.map +1 -1
  11. package/lib/commands/action/generate/output.d.ts +4 -4
  12. package/lib/commands/action/generate/output.js +19 -11
  13. package/lib/commands/action/generate/output.js.map +1 -1
  14. package/lib/commands/action/run/image.d.ts +9 -9
  15. package/lib/commands/action/run/image.js +39 -27
  16. package/lib/commands/action/run/image.js.map +1 -1
  17. package/lib/commands/action/run/local.d.ts +11 -11
  18. package/lib/commands/action/run/local.js +50 -34
  19. package/lib/commands/action/run/local.js.map +1 -1
  20. package/lib/commands/asset/add.d.ts +2 -2
  21. package/lib/commands/asset/add.js +12 -7
  22. package/lib/commands/asset/add.js.map +1 -1
  23. package/lib/commands/connector/build.d.ts +10 -10
  24. package/lib/commands/connector/build.js +37 -20
  25. package/lib/commands/connector/build.js.map +1 -1
  26. package/lib/commands/connector/create/openapi.d.ts +12 -11
  27. package/lib/commands/connector/create/openapi.js +128 -63
  28. package/lib/commands/connector/create/openapi.js.map +1 -1
  29. package/lib/commands/connector/create/source.d.ts +2 -2
  30. package/lib/commands/connector/create/source.js +12 -6
  31. package/lib/commands/connector/create/source.js.map +1 -1
  32. package/lib/commands/connector/create.d.ts +11 -10
  33. package/lib/commands/connector/create.js +46 -11
  34. package/lib/commands/connector/create.js.map +1 -1
  35. package/lib/commands/connector/logo.d.ts +2 -2
  36. package/lib/commands/connector/logo.js +10 -5
  37. package/lib/commands/connector/logo.js.map +1 -1
  38. package/lib/commands/connector/sign.d.ts +6 -6
  39. package/lib/commands/connector/sign.js +24 -13
  40. package/lib/commands/connector/sign.js.map +1 -1
  41. package/lib/commands/connector/update.d.ts +3 -3
  42. package/lib/commands/connector/update.js +14 -8
  43. package/lib/commands/connector/update.js.map +1 -1
  44. package/lib/commands/connector/validate.d.ts +4 -4
  45. package/lib/commands/connector/validate.js +22 -14
  46. package/lib/commands/connector/validate.js.map +1 -1
  47. package/lib/common.js +4 -0
  48. package/lib/common.js.map +1 -1
  49. package/lib/templates/assets/http_bearer.yaml +1 -2
  50. package/lib/types/connector-types.d.ts +3 -2
  51. package/oclif.manifest.json +1014 -1
  52. package/package.json +15 -15
@@ -1 +1,1014 @@
1
- {"version":"2.11.2-next.6+c335669","commands":{"action:add":{"id":"action:add","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"template":{"name":"template","type":"option","char":"t","description":"action template to scaffold","multiple":false,"options":["node_18","python_definition","python"],"default":"python_definition"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"asset:add":{"id":"asset:add","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"scheme":{"name":"scheme","type":"option","char":"s","description":"asset template to scaffold","multiple":false,"options":["custom","apikey","oauth2_client_credentials","http_basic","http_bearer"]},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:build":{"id":"connector:build","description":"Builds a local docker image of the connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"template":{"name":"template","type":"option","description":"connector language","required":false,"multiple":false,"options":["python_37_swimlane","node_18","python_39_definition","python_310_definition","python_311_definition"]},"compile-override":{"name":"compile-override","type":"option","hidden":true,"multiple":false,"default":"Compile.Dockerfile"},"runner-override":{"name":"runner-override","type":"option","hidden":true,"multiple":false,"default":"Runner.Dockerfile"},"runtime-override":{"name":"runtime-override","type":"option","hidden":true,"multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"save":{"name":"save","type":"boolean","description":"saves a signed docker image as tar in local directory.","allowNo":false},"squash":{"name":"squash","type":"boolean","description":"squashes the docker layers.","hidden":true,"allowNo":false},"force-rebuild":{"name":"force-rebuild","type":"boolean","char":"f","description":"forces nocache on the image build","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"signing-password":{"name":"signing-password","type":"option","description":"password used for the private key (ENV: TURBINE_SIGNING_PASSWORD)","multiple":false,"default":""},"key-name":{"name":"key-name","type":"option","description":"name used for the key (default: username_yyyy-MM-dd)","multiple":false},"skip-upload":{"name":"skip-upload","type":"boolean","hidden":true,"allowNo":false},"registry":{"name":"registry","type":"option","description":"registry to use for signing","multiple":false,"default":"localhost:5000"},"output":{"name":"output","type":"option","char":"o","description":"output path to where to store the image.","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create":{"id":"connector:create","description":"Scaffold a new connector","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false,"default":"./"},"template":{"name":"template","type":"option","char":"t","description":"connector template to scaffold","multiple":false,"options":["python_310_definition","python_311_definition","python_3"],"default":"python_311_definition"},"vendor":{"name":"vendor","type":"option","description":"Vendor (e.g. CrowdStrike)","multiple":false},"product":{"name":"product","type":"option","description":"Product (e.g. Falcon)","multiple":false},"keywords":{"name":"keywords","type":"option","description":"Enter keywords (Comma-Separated)","multiple":false},"description":{"name":"description","type":"option","description":"Description (e.g. CrowdStrike Host Query API)","multiple":false},"logoPath":{"name":"logoPath","type":"option","description":"URL or absolute path to logo file","multiple":false},"author":{"name":"author","type":"option","description":"Connector Author","multiple":false},"authorEmail":{"name":"authorEmail","type":"option","description":"Connector Author Email","multiple":false},"homepage":{"name":"homepage","type":"option","description":"Connector Author Support URL","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:logo":{"id":"connector:logo","description":"Update a connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the connector folder.","multiple":false,"default":"."},"path":{"name":"path","type":"option","char":"p","description":"path or URL to product logo in PNG format.","required":true,"multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:sign":{"id":"connector:sign","description":"Builds a local docker image of the connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"image":{"name":"image","type":"option","description":"image name to sign","required":true,"multiple":false},"signing-password":{"name":"signing-password","type":"option","description":"password used for the private key","multiple":false,"default":""},"save":{"name":"save","type":"boolean","description":"saves docker image as tar in local directory.","allowNo":false},"key-name":{"name":"key-name","type":"option","description":"name used for the key (default: username)","required":true,"multiple":false},"skip-upload":{"name":"skip-upload","type":"boolean","hidden":true,"allowNo":false},"registry":{"name":"registry","type":"option","description":"registry to use for signing","multiple":false,"default":"localhost:5000"},"output":{"name":"output","type":"option","char":"o","description":"output path to where to store the image.","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:update":{"id":"connector:update","description":"Update a connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the connector folder.","multiple":false,"default":"."},"version":{"name":"version","type":"option","char":"v","description":"new version of the connector.","multiple":false},"manifest-path":{"name":"manifest-path","type":"option","char":"f","description":"connector manifest path relative to directory.","multiple":false,"default":"/connector/connector.yaml"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:validate":{"id":"connector:validate","description":"Use to validate an integration","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"image":{"name":"image","type":"option","char":"i","description":"image to use","multiple":false},"connector":{"name":"connector","type":"option","char":"c","description":"connector to validate (relative to directory)","required":true,"multiple":false,"default":"connector"},"signed":{"name":"signed","type":"boolean","description":"validates a signed connector","allowNo":false},"key":{"name":"key","type":"option","description":"public key for verification","multiple":false,"dependsOn":["signed"],"exclusive":["skip-verification"]},"skip-pull":{"name":"skip-pull","type":"boolean","char":"s","description":"skips pulling the image","allowNo":false},"directory":{"name":"directory","type":"option","char":"d","description":"current directory to mount","multiple":false,"default":"./"}},"args":[]},"action:generate:data":{"id":"action:generate:data","description":"Use to test a task in an integration","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"action":{"name":"action","type":"option","char":"a","description":"action to generate data","multiple":false},"asset":{"name":"asset","type":"option","description":"Filename for asset, defaults to the task name under the data folder. ie: data/asset_name.json","multiple":false},"inputs":{"name":"inputs","type":"option","description":"Filename for JSON inputs, defaults to the task name under the data folder. ie: data/my_task.json","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"current directory to mount","multiple":false,"default":"./"},"include-optional":{"name":"include-optional","type":"boolean","description":"used to only generate required properties","allowNo":false},"force":{"name":"force","type":"boolean","description":"overwrites current files","allowNo":false}},"args":[]},"action:generate:input":{"id":"action:generate:input","description":"Update action input schema.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"amend":{"name":"amend","type":"boolean","description":"Merge with existing schema.","allowNo":false},"action-config-path":{"name":"action-config-path","type":"option","description":"Override path to action configuration file. Defaults to /connector/config/actions/<action>.yaml","multiple":false},"input-path":{"name":"input-path","type":"option","description":"Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:generate:output":{"id":"action:generate:output","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"action-config-path":{"name":"action-config-path","type":"option","description":"Override path to action configuration file. Defaults to /connector/config/<action>.yaml","multiple":false},"amend":{"name":"amend","type":"boolean","description":"Merge with existing schema.","allowNo":false},"output-path":{"name":"output-path","type":"option","description":"Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:run:image":{"id":"action:run:image","description":"Runs a connector action. (Defaults to current image version in local repository).","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","hidden":true,"aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","required":true,"multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"input-path":{"name":"input-path","type":"option","description":"File to input data JSON file","required":true,"multiple":false},"output-path":{"name":"output-path","type":"option","description":"File to write the outputs to, defaults to /data/<action>_output.json","multiple":false},"error-path":{"name":"error-path","type":"option","description":"File to write the errors to, defaults to /data/<action>_error.json","multiple":false},"asset-path":{"name":"asset-path","type":"option","description":"File to asset data JSON file, defaults to /data/asset.json","multiple":false},"repository":{"name":"repository","type":"option","char":"r","description":"The connector image repository to run.","multiple":false},"version":{"name":"version","type":"option","description":"Use the latest release image from quay.","multiple":false,"default":"latest"},"stdin":{"name":"stdin","type":"boolean","description":"Send the inputs through stdin instead of an environment variable.","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:run:local":{"id":"action:run:local","description":"Runs a connector action. (Defaults to current image version in local repository).","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"input-path":{"name":"input-path","type":"option","description":"File to input data JSON file, defaults to /data/<action>.json","multiple":false},"output-path":{"name":"output-path","type":"option","description":"File to write the outputs to, defaults to /data/<action>_output.json","multiple":false},"error-path":{"name":"error-path","type":"option","description":"File to write the errors to, defaults to /data/<action>_error.json","multiple":false},"asset-path":{"name":"asset-path","type":"option","description":"File to asset data JSON file, defaults to /data/asset.json","multiple":false},"template":{"name":"template","type":"option","description":"connector template","required":false,"multiple":false,"options":["python_37_swimlane","node_18","python_39_definition","python_310_definition","python_311_definition"]},"compile-override":{"name":"compile-override","type":"option","hidden":true,"multiple":false,"default":"Compile.Dockerfile"},"runner-override":{"name":"runner-override","type":"option","hidden":true,"multiple":false,"default":"Runner.Dockerfile"},"runtime-override":{"name":"runtime-override","type":"option","hidden":true,"multiple":false},"force-rebuild":{"name":"force-rebuild","type":"boolean","char":"f","description":"forces nocache on the image build","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"debug":{"name":"debug","type":"boolean","description":"forces a breakpoint in run.py","hidden":true,"allowNo":false},"no-remove":{"name":"no-remove","type":"boolean","hidden":true,"allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create:openapi":{"id":"connector:create:openapi","description":"Scaffold a new connector","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false,"default":"./"},"vendor":{"name":"vendor","type":"option","description":"Vendor (e.g. CrowdStrike)","multiple":false},"product":{"name":"product","type":"option","description":"Product (e.g. Falcon)","multiple":false},"keywords":{"name":"keywords","type":"option","char":"k","description":"Please enter keyword (Comma-Separated)","multiple":false},"description":{"name":"description","type":"option","description":"Description (e.g. CrowdStrike Host Query API)","multiple":false},"logoPath":{"name":"logoPath","type":"option","description":"URL or absolute path to logo file","multiple":false},"author":{"name":"author","type":"option","description":"Connector Author","multiple":false},"authorEmail":{"name":"authorEmail","type":"option","description":"Connector Author Email","multiple":false},"homepage":{"name":"homepage","type":"option","description":"Connector Author Support URL","multiple":false},"specs":{"name":"specs","type":"option","char":"o","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create:source":{"id":"connector:create:source","description":"Generates 11x source from 10x","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"manifests-only":{"name":"manifests-only","type":"boolean","hidden":true,"allowNo":false},"archive":{"name":"archive","type":"option","hidden":true,"multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]}}}
1
+ {
2
+ "version": "2.11.2-next.66+a6cfad9",
3
+ "commands": {
4
+ "action:add": {
5
+ "id": "action:add",
6
+ "description": "Update a connector action.",
7
+ "strict": true,
8
+ "pluginName": "@sw-tsdk/plugin-connector",
9
+ "pluginAlias": "@sw-tsdk/plugin-connector",
10
+ "pluginType": "core",
11
+ "aliases": [],
12
+ "flags": {
13
+ "directory": {
14
+ "name": "directory",
15
+ "type": "option",
16
+ "char": "d",
17
+ "description": "Root directory of the repository.",
18
+ "multiple": false,
19
+ "default": "./"
20
+ },
21
+ "template": {
22
+ "name": "template",
23
+ "type": "option",
24
+ "char": "t",
25
+ "description": "action template to scaffold",
26
+ "multiple": false,
27
+ "options": [
28
+ "node",
29
+ "python_definition",
30
+ "python"
31
+ ],
32
+ "default": "python_definition"
33
+ },
34
+ "help": {
35
+ "name": "help",
36
+ "type": "boolean",
37
+ "char": "h",
38
+ "description": "Show CLI help.",
39
+ "allowNo": false
40
+ }
41
+ },
42
+ "args": {}
43
+ },
44
+ "asset:add": {
45
+ "id": "asset:add",
46
+ "description": "Update a connector action.",
47
+ "strict": true,
48
+ "pluginName": "@sw-tsdk/plugin-connector",
49
+ "pluginAlias": "@sw-tsdk/plugin-connector",
50
+ "pluginType": "core",
51
+ "aliases": [],
52
+ "flags": {
53
+ "directory": {
54
+ "name": "directory",
55
+ "type": "option",
56
+ "char": "d",
57
+ "description": "Root directory of the repository.",
58
+ "multiple": false,
59
+ "default": "./"
60
+ },
61
+ "scheme": {
62
+ "name": "scheme",
63
+ "type": "option",
64
+ "char": "s",
65
+ "description": "asset template to scaffold",
66
+ "multiple": false,
67
+ "options": [
68
+ "custom",
69
+ "apikey",
70
+ "oauth2_client_credentials",
71
+ "http_basic",
72
+ "http_bearer"
73
+ ]
74
+ },
75
+ "help": {
76
+ "name": "help",
77
+ "type": "boolean",
78
+ "char": "h",
79
+ "description": "Show CLI help.",
80
+ "allowNo": false
81
+ }
82
+ },
83
+ "args": {}
84
+ },
85
+ "connector:build": {
86
+ "id": "connector:build",
87
+ "description": "Builds a local docker image of the connector.",
88
+ "strict": true,
89
+ "pluginName": "@sw-tsdk/plugin-connector",
90
+ "pluginAlias": "@sw-tsdk/plugin-connector",
91
+ "pluginType": "core",
92
+ "aliases": [],
93
+ "flags": {
94
+ "template": {
95
+ "name": "template",
96
+ "type": "option",
97
+ "description": "connector language",
98
+ "required": false,
99
+ "multiple": false,
100
+ "options": [
101
+ "python_37_swimlane",
102
+ "node_18",
103
+ "node_20",
104
+ "python_39_definition",
105
+ "python_39_turbine",
106
+ "python_310_definition",
107
+ "python_311_definition"
108
+ ]
109
+ },
110
+ "compile-override": {
111
+ "name": "compile-override",
112
+ "type": "option",
113
+ "hidden": true,
114
+ "multiple": false,
115
+ "default": "Compile.Dockerfile"
116
+ },
117
+ "runner-override": {
118
+ "name": "runner-override",
119
+ "type": "option",
120
+ "hidden": true,
121
+ "multiple": false,
122
+ "default": "Runner.Dockerfile"
123
+ },
124
+ "runtime-override": {
125
+ "name": "runtime-override",
126
+ "type": "option",
127
+ "hidden": true,
128
+ "multiple": false
129
+ },
130
+ "directory": {
131
+ "name": "directory",
132
+ "type": "option",
133
+ "char": "d",
134
+ "description": "root directory of the repository.",
135
+ "multiple": false,
136
+ "default": "./"
137
+ },
138
+ "save": {
139
+ "name": "save",
140
+ "type": "boolean",
141
+ "description": "saves a signed docker image as tar in local directory.",
142
+ "allowNo": false
143
+ },
144
+ "squash": {
145
+ "name": "squash",
146
+ "type": "boolean",
147
+ "description": "squashes the docker layers.",
148
+ "hidden": true,
149
+ "allowNo": false
150
+ },
151
+ "force-rebuild": {
152
+ "name": "force-rebuild",
153
+ "type": "boolean",
154
+ "char": "f",
155
+ "description": "forces nocache on the image build",
156
+ "allowNo": false
157
+ },
158
+ "platform": {
159
+ "name": "platform",
160
+ "type": "option",
161
+ "hidden": true,
162
+ "multiple": false,
163
+ "default": "linux/amd64"
164
+ },
165
+ "signing-password": {
166
+ "name": "signing-password",
167
+ "type": "option",
168
+ "description": "password used for the private key (ENV: TURBINE_SIGNING_PASSWORD)",
169
+ "multiple": false,
170
+ "default": ""
171
+ },
172
+ "key-name": {
173
+ "name": "key-name",
174
+ "type": "option",
175
+ "description": "name used for the key (default: username_yyyy-MM-dd)",
176
+ "multiple": false
177
+ },
178
+ "skip-upload": {
179
+ "name": "skip-upload",
180
+ "type": "boolean",
181
+ "hidden": true,
182
+ "allowNo": false
183
+ },
184
+ "registry": {
185
+ "name": "registry",
186
+ "type": "option",
187
+ "description": "registry to use for signing",
188
+ "multiple": false,
189
+ "default": "localhost:5000"
190
+ },
191
+ "output": {
192
+ "name": "output",
193
+ "type": "option",
194
+ "char": "o",
195
+ "description": "output path to where to store the image.",
196
+ "multiple": false
197
+ },
198
+ "help": {
199
+ "name": "help",
200
+ "type": "boolean",
201
+ "char": "h",
202
+ "description": "Show CLI help.",
203
+ "allowNo": false
204
+ }
205
+ },
206
+ "args": {}
207
+ },
208
+ "connector:create": {
209
+ "id": "connector:create",
210
+ "description": "Scaffold a new connector",
211
+ "strict": true,
212
+ "pluginName": "@sw-tsdk/plugin-connector",
213
+ "pluginAlias": "@sw-tsdk/plugin-connector",
214
+ "pluginType": "core",
215
+ "aliases": [],
216
+ "flags": {
217
+ "directory": {
218
+ "name": "directory",
219
+ "type": "option",
220
+ "char": "d",
221
+ "description": "root directory for where to store connectors, the connector directory will be generated.",
222
+ "multiple": false,
223
+ "default": "./"
224
+ },
225
+ "template": {
226
+ "name": "template",
227
+ "type": "option",
228
+ "char": "t",
229
+ "description": "connector template to scaffold",
230
+ "multiple": false,
231
+ "options": [
232
+ "python_310_definition",
233
+ "python_311_definition",
234
+ "python_3"
235
+ ],
236
+ "default": "python_311_definition"
237
+ },
238
+ "vendor": {
239
+ "name": "vendor",
240
+ "type": "option",
241
+ "description": "Vendor (e.g. CrowdStrike)",
242
+ "multiple": false
243
+ },
244
+ "product": {
245
+ "name": "product",
246
+ "type": "option",
247
+ "description": "Product (e.g. Falcon)",
248
+ "multiple": false
249
+ },
250
+ "keywords": {
251
+ "name": "keywords",
252
+ "type": "option",
253
+ "description": "Enter keywords (Comma-Separated)",
254
+ "multiple": false
255
+ },
256
+ "description": {
257
+ "name": "description",
258
+ "type": "option",
259
+ "description": "Description (e.g. CrowdStrike Host Query API)",
260
+ "multiple": false
261
+ },
262
+ "logoPath": {
263
+ "name": "logoPath",
264
+ "type": "option",
265
+ "description": "URL or absolute path to logo file",
266
+ "multiple": false
267
+ },
268
+ "author": {
269
+ "name": "author",
270
+ "type": "option",
271
+ "description": "Connector Author",
272
+ "multiple": false
273
+ },
274
+ "authorEmail": {
275
+ "name": "authorEmail",
276
+ "type": "option",
277
+ "description": "Connector Author Email",
278
+ "multiple": false
279
+ },
280
+ "homepage": {
281
+ "name": "homepage",
282
+ "type": "option",
283
+ "description": "Connector Author Support URL",
284
+ "multiple": false
285
+ },
286
+ "help": {
287
+ "name": "help",
288
+ "type": "boolean",
289
+ "char": "h",
290
+ "description": "Show CLI help.",
291
+ "allowNo": false
292
+ },
293
+ "aspirationalConnector": {
294
+ "name": "aspirationalConnector",
295
+ "type": "option",
296
+ "description": "Is it an aspirational connector? (e.g. false)",
297
+ "multiple": false
298
+ }
299
+ },
300
+ "args": {}
301
+ },
302
+ "connector:logo": {
303
+ "id": "connector:logo",
304
+ "description": "Update a connector.",
305
+ "strict": true,
306
+ "pluginName": "@sw-tsdk/plugin-connector",
307
+ "pluginAlias": "@sw-tsdk/plugin-connector",
308
+ "pluginType": "core",
309
+ "aliases": [],
310
+ "flags": {
311
+ "directory": {
312
+ "name": "directory",
313
+ "type": "option",
314
+ "char": "d",
315
+ "description": "root directory of the connector folder.",
316
+ "multiple": false,
317
+ "default": "."
318
+ },
319
+ "path": {
320
+ "name": "path",
321
+ "type": "option",
322
+ "char": "p",
323
+ "description": "path or URL to product logo in PNG format.",
324
+ "required": true,
325
+ "multiple": false
326
+ },
327
+ "help": {
328
+ "name": "help",
329
+ "type": "boolean",
330
+ "char": "h",
331
+ "description": "Show CLI help.",
332
+ "allowNo": false
333
+ }
334
+ },
335
+ "args": {}
336
+ },
337
+ "connector:sign": {
338
+ "id": "connector:sign",
339
+ "description": "Builds a local docker image of the connector.",
340
+ "strict": true,
341
+ "pluginName": "@sw-tsdk/plugin-connector",
342
+ "pluginAlias": "@sw-tsdk/plugin-connector",
343
+ "pluginType": "core",
344
+ "aliases": [],
345
+ "flags": {
346
+ "directory": {
347
+ "name": "directory",
348
+ "type": "option",
349
+ "char": "d",
350
+ "description": "root directory of the repository.",
351
+ "multiple": false,
352
+ "default": "./"
353
+ },
354
+ "image": {
355
+ "name": "image",
356
+ "type": "option",
357
+ "description": "image name to sign",
358
+ "required": true,
359
+ "multiple": false
360
+ },
361
+ "signing-password": {
362
+ "name": "signing-password",
363
+ "type": "option",
364
+ "description": "password used for the private key",
365
+ "multiple": false,
366
+ "default": ""
367
+ },
368
+ "save": {
369
+ "name": "save",
370
+ "type": "boolean",
371
+ "description": "saves docker image as tar in local directory.",
372
+ "allowNo": false
373
+ },
374
+ "key-name": {
375
+ "name": "key-name",
376
+ "type": "option",
377
+ "description": "name used for the key (default: username)",
378
+ "required": true,
379
+ "multiple": false
380
+ },
381
+ "skip-upload": {
382
+ "name": "skip-upload",
383
+ "type": "boolean",
384
+ "hidden": true,
385
+ "allowNo": false
386
+ },
387
+ "registry": {
388
+ "name": "registry",
389
+ "type": "option",
390
+ "description": "registry to use for signing",
391
+ "multiple": false,
392
+ "default": "localhost:5000"
393
+ },
394
+ "output": {
395
+ "name": "output",
396
+ "type": "option",
397
+ "char": "o",
398
+ "description": "output path to where to store the image.",
399
+ "multiple": false
400
+ },
401
+ "help": {
402
+ "name": "help",
403
+ "type": "boolean",
404
+ "char": "h",
405
+ "description": "Show CLI help.",
406
+ "allowNo": false
407
+ }
408
+ },
409
+ "args": {}
410
+ },
411
+ "connector:update": {
412
+ "id": "connector:update",
413
+ "description": "Update a connector.",
414
+ "strict": true,
415
+ "pluginName": "@sw-tsdk/plugin-connector",
416
+ "pluginAlias": "@sw-tsdk/plugin-connector",
417
+ "pluginType": "core",
418
+ "aliases": [],
419
+ "flags": {
420
+ "directory": {
421
+ "name": "directory",
422
+ "type": "option",
423
+ "char": "d",
424
+ "description": "root directory of the connector folder.",
425
+ "multiple": false,
426
+ "default": "."
427
+ },
428
+ "version": {
429
+ "name": "version",
430
+ "type": "option",
431
+ "char": "v",
432
+ "description": "new version of the connector.",
433
+ "multiple": false
434
+ },
435
+ "manifest-path": {
436
+ "name": "manifest-path",
437
+ "type": "option",
438
+ "char": "f",
439
+ "description": "connector manifest path relative to directory.",
440
+ "multiple": false,
441
+ "default": "/connector/connector.yaml"
442
+ },
443
+ "help": {
444
+ "name": "help",
445
+ "type": "boolean",
446
+ "char": "h",
447
+ "description": "Show CLI help.",
448
+ "allowNo": false
449
+ }
450
+ },
451
+ "args": {}
452
+ },
453
+ "connector:validate": {
454
+ "id": "connector:validate",
455
+ "description": "Use to validate an integration",
456
+ "strict": true,
457
+ "pluginName": "@sw-tsdk/plugin-connector",
458
+ "pluginAlias": "@sw-tsdk/plugin-connector",
459
+ "pluginType": "core",
460
+ "aliases": [],
461
+ "flags": {
462
+ "help": {
463
+ "name": "help",
464
+ "type": "boolean",
465
+ "char": "h",
466
+ "description": "Show CLI help.",
467
+ "allowNo": false
468
+ },
469
+ "image": {
470
+ "name": "image",
471
+ "type": "option",
472
+ "char": "i",
473
+ "description": "image to use",
474
+ "multiple": false
475
+ },
476
+ "connector": {
477
+ "name": "connector",
478
+ "type": "option",
479
+ "char": "c",
480
+ "description": "connector to validate (relative to directory)",
481
+ "required": true,
482
+ "multiple": false,
483
+ "default": "connector"
484
+ },
485
+ "signed": {
486
+ "name": "signed",
487
+ "type": "boolean",
488
+ "description": "validates a signed connector",
489
+ "allowNo": false
490
+ },
491
+ "key": {
492
+ "name": "key",
493
+ "type": "option",
494
+ "description": "public key for verification",
495
+ "multiple": false,
496
+ "dependsOn": [
497
+ "signed"
498
+ ],
499
+ "exclusive": [
500
+ "skip-verification"
501
+ ]
502
+ },
503
+ "skip-pull": {
504
+ "name": "skip-pull",
505
+ "type": "boolean",
506
+ "char": "s",
507
+ "description": "skips pulling the image",
508
+ "allowNo": false
509
+ },
510
+ "directory": {
511
+ "name": "directory",
512
+ "type": "option",
513
+ "char": "d",
514
+ "description": "current directory to mount",
515
+ "multiple": false,
516
+ "default": "./"
517
+ }
518
+ },
519
+ "args": {}
520
+ },
521
+ "action:generate:data": {
522
+ "id": "action:generate:data",
523
+ "description": "Use to test a task in an integration",
524
+ "strict": true,
525
+ "pluginName": "@sw-tsdk/plugin-connector",
526
+ "pluginAlias": "@sw-tsdk/plugin-connector",
527
+ "pluginType": "core",
528
+ "aliases": [],
529
+ "flags": {
530
+ "help": {
531
+ "name": "help",
532
+ "type": "boolean",
533
+ "char": "h",
534
+ "description": "Show CLI help.",
535
+ "allowNo": false
536
+ },
537
+ "action": {
538
+ "name": "action",
539
+ "type": "option",
540
+ "char": "a",
541
+ "description": "action to generate data",
542
+ "multiple": false
543
+ },
544
+ "asset": {
545
+ "name": "asset",
546
+ "type": "option",
547
+ "description": "Filename for asset, defaults to the task name under the data folder. ie: data/asset_name.json",
548
+ "multiple": false
549
+ },
550
+ "inputs": {
551
+ "name": "inputs",
552
+ "type": "option",
553
+ "description": "Filename for JSON inputs, defaults to the task name under the data folder. ie: data/my_task.json",
554
+ "multiple": false
555
+ },
556
+ "directory": {
557
+ "name": "directory",
558
+ "type": "option",
559
+ "char": "d",
560
+ "description": "current directory to mount",
561
+ "multiple": false,
562
+ "default": "./"
563
+ },
564
+ "include-optional": {
565
+ "name": "include-optional",
566
+ "type": "boolean",
567
+ "description": "used to only generate required properties",
568
+ "allowNo": false
569
+ },
570
+ "force": {
571
+ "name": "force",
572
+ "type": "boolean",
573
+ "description": "overwrites current files",
574
+ "allowNo": false
575
+ }
576
+ },
577
+ "args": {}
578
+ },
579
+ "action:generate:input": {
580
+ "id": "action:generate:input",
581
+ "description": "Update action input schema.",
582
+ "strict": true,
583
+ "pluginName": "@sw-tsdk/plugin-connector",
584
+ "pluginAlias": "@sw-tsdk/plugin-connector",
585
+ "pluginType": "core",
586
+ "aliases": [],
587
+ "flags": {
588
+ "action": {
589
+ "name": "action",
590
+ "type": "option",
591
+ "char": "a",
592
+ "description": "Action name to run",
593
+ "multiple": false
594
+ },
595
+ "directory": {
596
+ "name": "directory",
597
+ "type": "option",
598
+ "char": "d",
599
+ "description": "Root directory of the repository.",
600
+ "multiple": false,
601
+ "default": "./"
602
+ },
603
+ "amend": {
604
+ "name": "amend",
605
+ "type": "boolean",
606
+ "description": "Merge with existing schema.",
607
+ "allowNo": false
608
+ },
609
+ "action-config-path": {
610
+ "name": "action-config-path",
611
+ "type": "option",
612
+ "description": "Override path to action configuration file. Defaults to /connector/config/actions/<action>.yaml",
613
+ "multiple": false
614
+ },
615
+ "input-path": {
616
+ "name": "input-path",
617
+ "type": "option",
618
+ "description": "Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json",
619
+ "multiple": false
620
+ },
621
+ "help": {
622
+ "name": "help",
623
+ "type": "boolean",
624
+ "char": "h",
625
+ "description": "Show CLI help.",
626
+ "allowNo": false
627
+ }
628
+ },
629
+ "args": {}
630
+ },
631
+ "action:generate:output": {
632
+ "id": "action:generate:output",
633
+ "description": "Update a connector action.",
634
+ "strict": true,
635
+ "pluginName": "@sw-tsdk/plugin-connector",
636
+ "pluginAlias": "@sw-tsdk/plugin-connector",
637
+ "pluginType": "core",
638
+ "aliases": [],
639
+ "flags": {
640
+ "action": {
641
+ "name": "action",
642
+ "type": "option",
643
+ "char": "a",
644
+ "description": "Action name to run",
645
+ "multiple": false
646
+ },
647
+ "directory": {
648
+ "name": "directory",
649
+ "type": "option",
650
+ "char": "d",
651
+ "description": "Root directory of the repository.",
652
+ "multiple": false,
653
+ "default": "./"
654
+ },
655
+ "action-config-path": {
656
+ "name": "action-config-path",
657
+ "type": "option",
658
+ "description": "Override path to action configuration file. Defaults to /connector/config/<action>.yaml",
659
+ "multiple": false
660
+ },
661
+ "amend": {
662
+ "name": "amend",
663
+ "type": "boolean",
664
+ "description": "Merge with existing schema.",
665
+ "allowNo": false
666
+ },
667
+ "output-path": {
668
+ "name": "output-path",
669
+ "type": "option",
670
+ "description": "Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json",
671
+ "multiple": false
672
+ },
673
+ "help": {
674
+ "name": "help",
675
+ "type": "boolean",
676
+ "char": "h",
677
+ "description": "Show CLI help.",
678
+ "allowNo": false
679
+ }
680
+ },
681
+ "args": {}
682
+ },
683
+ "action:run:image": {
684
+ "id": "action:run:image",
685
+ "description": "Runs a connector action. (Defaults to current image version in local repository).",
686
+ "strict": true,
687
+ "pluginName": "@sw-tsdk/plugin-connector",
688
+ "pluginAlias": "@sw-tsdk/plugin-connector",
689
+ "pluginType": "core",
690
+ "hidden": true,
691
+ "aliases": [],
692
+ "flags": {
693
+ "action": {
694
+ "name": "action",
695
+ "type": "option",
696
+ "char": "a",
697
+ "description": "Action name to run",
698
+ "required": true,
699
+ "multiple": false
700
+ },
701
+ "directory": {
702
+ "name": "directory",
703
+ "type": "option",
704
+ "char": "d",
705
+ "description": "Root directory of the repository.",
706
+ "multiple": false,
707
+ "default": "./"
708
+ },
709
+ "input-path": {
710
+ "name": "input-path",
711
+ "type": "option",
712
+ "description": "File to input data JSON file",
713
+ "required": true,
714
+ "multiple": false
715
+ },
716
+ "output-path": {
717
+ "name": "output-path",
718
+ "type": "option",
719
+ "description": "File to write the outputs to, defaults to /data/<action>_output.json",
720
+ "multiple": false
721
+ },
722
+ "error-path": {
723
+ "name": "error-path",
724
+ "type": "option",
725
+ "description": "File to write the errors to, defaults to /data/<action>_error.json",
726
+ "multiple": false
727
+ },
728
+ "asset-path": {
729
+ "name": "asset-path",
730
+ "type": "option",
731
+ "description": "File to asset data JSON file, defaults to /data/asset.json",
732
+ "multiple": false
733
+ },
734
+ "repository": {
735
+ "name": "repository",
736
+ "type": "option",
737
+ "char": "r",
738
+ "description": "The connector image repository to run.",
739
+ "multiple": false
740
+ },
741
+ "version": {
742
+ "name": "version",
743
+ "type": "option",
744
+ "description": "Use the latest release image from quay.",
745
+ "multiple": false,
746
+ "default": "latest"
747
+ },
748
+ "stdin": {
749
+ "name": "stdin",
750
+ "type": "boolean",
751
+ "description": "Send the inputs through stdin instead of an environment variable.",
752
+ "allowNo": false
753
+ },
754
+ "platform": {
755
+ "name": "platform",
756
+ "type": "option",
757
+ "hidden": true,
758
+ "multiple": false,
759
+ "default": "linux/amd64"
760
+ },
761
+ "help": {
762
+ "name": "help",
763
+ "type": "boolean",
764
+ "char": "h",
765
+ "description": "Show CLI help.",
766
+ "allowNo": false
767
+ }
768
+ },
769
+ "args": {}
770
+ },
771
+ "action:run:local": {
772
+ "id": "action:run:local",
773
+ "description": "Runs a connector action. (Defaults to current image version in local repository).",
774
+ "strict": true,
775
+ "pluginName": "@sw-tsdk/plugin-connector",
776
+ "pluginAlias": "@sw-tsdk/plugin-connector",
777
+ "pluginType": "core",
778
+ "aliases": [],
779
+ "flags": {
780
+ "action": {
781
+ "name": "action",
782
+ "type": "option",
783
+ "char": "a",
784
+ "description": "Action name to run",
785
+ "multiple": false
786
+ },
787
+ "directory": {
788
+ "name": "directory",
789
+ "type": "option",
790
+ "char": "d",
791
+ "description": "Root directory of the repository.",
792
+ "multiple": false,
793
+ "default": "./"
794
+ },
795
+ "input-path": {
796
+ "name": "input-path",
797
+ "type": "option",
798
+ "description": "File to input data JSON file, defaults to /data/<action>.json",
799
+ "multiple": false
800
+ },
801
+ "output-path": {
802
+ "name": "output-path",
803
+ "type": "option",
804
+ "description": "File to write the outputs to, defaults to /data/<action>_output.json",
805
+ "multiple": false
806
+ },
807
+ "error-path": {
808
+ "name": "error-path",
809
+ "type": "option",
810
+ "description": "File to write the errors to, defaults to /data/<action>_error.json",
811
+ "multiple": false
812
+ },
813
+ "asset-path": {
814
+ "name": "asset-path",
815
+ "type": "option",
816
+ "description": "File to asset data JSON file, defaults to /data/asset.json",
817
+ "multiple": false
818
+ },
819
+ "template": {
820
+ "name": "template",
821
+ "type": "option",
822
+ "description": "connector template",
823
+ "required": false,
824
+ "multiple": false,
825
+ "options": [
826
+ "python_37_swimlane",
827
+ "node_18",
828
+ "node_20",
829
+ "python_39_definition",
830
+ "python_310_definition",
831
+ "python_311_definition"
832
+ ]
833
+ },
834
+ "compile-override": {
835
+ "name": "compile-override",
836
+ "type": "option",
837
+ "hidden": true,
838
+ "multiple": false,
839
+ "default": "Compile.Dockerfile"
840
+ },
841
+ "runner-override": {
842
+ "name": "runner-override",
843
+ "type": "option",
844
+ "hidden": true,
845
+ "multiple": false,
846
+ "default": "Runner.Dockerfile"
847
+ },
848
+ "runtime-override": {
849
+ "name": "runtime-override",
850
+ "type": "option",
851
+ "hidden": true,
852
+ "multiple": false
853
+ },
854
+ "force-rebuild": {
855
+ "name": "force-rebuild",
856
+ "type": "boolean",
857
+ "char": "f",
858
+ "description": "forces nocache on the image build",
859
+ "allowNo": false
860
+ },
861
+ "platform": {
862
+ "name": "platform",
863
+ "type": "option",
864
+ "hidden": true,
865
+ "multiple": false,
866
+ "default": "linux/amd64"
867
+ },
868
+ "debug": {
869
+ "name": "debug",
870
+ "type": "boolean",
871
+ "description": "forces a breakpoint in run.py",
872
+ "hidden": true,
873
+ "allowNo": false
874
+ },
875
+ "no-remove": {
876
+ "name": "no-remove",
877
+ "type": "boolean",
878
+ "hidden": true,
879
+ "allowNo": false
880
+ },
881
+ "help": {
882
+ "name": "help",
883
+ "type": "boolean",
884
+ "char": "h",
885
+ "description": "Show CLI help.",
886
+ "allowNo": false
887
+ }
888
+ },
889
+ "args": {}
890
+ },
891
+ "connector:create:openapi": {
892
+ "id": "connector:create:openapi",
893
+ "description": "Scaffold a new connector",
894
+ "strict": true,
895
+ "pluginName": "@sw-tsdk/plugin-connector",
896
+ "pluginAlias": "@sw-tsdk/plugin-connector",
897
+ "pluginType": "core",
898
+ "aliases": [],
899
+ "flags": {
900
+ "directory": {
901
+ "name": "directory",
902
+ "type": "option",
903
+ "char": "d",
904
+ "description": "root directory for where to store connectors, the connector directory will be generated.",
905
+ "multiple": false,
906
+ "default": "./"
907
+ },
908
+ "vendor": {
909
+ "name": "vendor",
910
+ "type": "option",
911
+ "description": "Vendor (e.g. CrowdStrike)",
912
+ "multiple": false
913
+ },
914
+ "product": {
915
+ "name": "product",
916
+ "type": "option",
917
+ "description": "Product (e.g. Falcon)",
918
+ "multiple": false
919
+ },
920
+ "keywords": {
921
+ "name": "keywords",
922
+ "type": "option",
923
+ "char": "k",
924
+ "description": "Please enter keyword (Comma-Separated)",
925
+ "multiple": false
926
+ },
927
+ "description": {
928
+ "name": "description",
929
+ "type": "option",
930
+ "description": "Description (e.g. CrowdStrike Host Query API)",
931
+ "multiple": false
932
+ },
933
+ "logoPath": {
934
+ "name": "logoPath",
935
+ "type": "option",
936
+ "description": "URL or absolute path to logo file",
937
+ "multiple": false
938
+ },
939
+ "author": {
940
+ "name": "author",
941
+ "type": "option",
942
+ "description": "Connector Author",
943
+ "multiple": false
944
+ },
945
+ "authorEmail": {
946
+ "name": "authorEmail",
947
+ "type": "option",
948
+ "description": "Connector Author Email",
949
+ "multiple": false
950
+ },
951
+ "homepage": {
952
+ "name": "homepage",
953
+ "type": "option",
954
+ "description": "Connector Author Support URL",
955
+ "multiple": false
956
+ },
957
+ "specs": {
958
+ "name": "specs",
959
+ "type": "option",
960
+ "char": "o",
961
+ "description": "path to the spec file",
962
+ "multiple": false
963
+ },
964
+ "help": {
965
+ "name": "help",
966
+ "type": "boolean",
967
+ "char": "h",
968
+ "description": "Show CLI help.",
969
+ "allowNo": false
970
+ }
971
+ },
972
+ "args": {}
973
+ },
974
+ "connector:create:source": {
975
+ "id": "connector:create:source",
976
+ "description": "Generates 11x source from 10x",
977
+ "strict": true,
978
+ "pluginName": "@sw-tsdk/plugin-connector",
979
+ "pluginAlias": "@sw-tsdk/plugin-connector",
980
+ "pluginType": "core",
981
+ "aliases": [],
982
+ "flags": {
983
+ "directory": {
984
+ "name": "directory",
985
+ "type": "option",
986
+ "char": "d",
987
+ "description": "root directory of the repository.",
988
+ "multiple": false,
989
+ "default": "./"
990
+ },
991
+ "manifests-only": {
992
+ "name": "manifests-only",
993
+ "type": "boolean",
994
+ "hidden": true,
995
+ "allowNo": false
996
+ },
997
+ "archive": {
998
+ "name": "archive",
999
+ "type": "option",
1000
+ "hidden": true,
1001
+ "multiple": false
1002
+ },
1003
+ "help": {
1004
+ "name": "help",
1005
+ "type": "boolean",
1006
+ "char": "h",
1007
+ "description": "Show CLI help.",
1008
+ "allowNo": false
1009
+ }
1010
+ },
1011
+ "args": {}
1012
+ }
1013
+ }
1014
+ }