@teambit/harmony.content.cli-reference 2.0.670 → 2.0.672
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.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +1424 -1289
- package/cli-reference.mdx +62 -11
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +1424 -1289
- package/dist/cli-reference.mdx.js +341 -10
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1751976620735.js → preview-1753879258224.js} +2 -2
- package/package.json +2 -2
package/cli-reference.json
CHANGED
|
@@ -74,120 +74,6 @@
|
|
|
74
74
|
"group": "system",
|
|
75
75
|
"private": false
|
|
76
76
|
},
|
|
77
|
-
{
|
|
78
|
-
"name": "mcp-server [sub-command]",
|
|
79
|
-
"alias": "",
|
|
80
|
-
"options": [
|
|
81
|
-
[
|
|
82
|
-
"",
|
|
83
|
-
"include-additional <commands>",
|
|
84
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
85
|
-
],
|
|
86
|
-
[
|
|
87
|
-
"",
|
|
88
|
-
"bit-bin <binary>",
|
|
89
|
-
"Specify the binary to use for running Bit commands (default: \"bit\")"
|
|
90
|
-
],
|
|
91
|
-
[
|
|
92
|
-
"",
|
|
93
|
-
"consumer-project",
|
|
94
|
-
"For non-Bit workspaces that only consume Bit component packages. Enables only \"schema\", \"show\", and \"remote_search\" tools"
|
|
95
|
-
]
|
|
96
|
-
],
|
|
97
|
-
"description": "Start the Bit CLI Model Context Protocol (MCP) server for programmatic and remote access to Bit commands.",
|
|
98
|
-
"extendedDescription": "",
|
|
99
|
-
"group": "advanced",
|
|
100
|
-
"private": false,
|
|
101
|
-
"commands": [
|
|
102
|
-
{
|
|
103
|
-
"name": "start",
|
|
104
|
-
"alias": "",
|
|
105
|
-
"options": [
|
|
106
|
-
[
|
|
107
|
-
"",
|
|
108
|
-
"include-additional <commands>",
|
|
109
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
110
|
-
],
|
|
111
|
-
[
|
|
112
|
-
"",
|
|
113
|
-
"bit-bin <binary>",
|
|
114
|
-
"Specify the binary to use for running Bit commands (default: \"bit\")"
|
|
115
|
-
],
|
|
116
|
-
[
|
|
117
|
-
"",
|
|
118
|
-
"consumer-project",
|
|
119
|
-
"For non-Bit workspaces that only consume Bit component packages. Enables only \"schema\", \"show\", and \"remote_search\" tools"
|
|
120
|
-
]
|
|
121
|
-
],
|
|
122
|
-
"description": "Start the MCP server",
|
|
123
|
-
"extendedDescription": "Start the Model Context Protocol (MCP) server with the specified configuration",
|
|
124
|
-
"group": "advanced",
|
|
125
|
-
"private": false
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "setup [editor]",
|
|
129
|
-
"alias": "",
|
|
130
|
-
"options": [
|
|
131
|
-
[
|
|
132
|
-
"",
|
|
133
|
-
"consumer-project",
|
|
134
|
-
"Configure for non-Bit workspaces that only consume Bit component packages"
|
|
135
|
-
],
|
|
136
|
-
[
|
|
137
|
-
"",
|
|
138
|
-
"include-additional <commands>",
|
|
139
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
140
|
-
],
|
|
141
|
-
[
|
|
142
|
-
"g",
|
|
143
|
-
"global",
|
|
144
|
-
"Setup global configuration (default: workspace-specific)"
|
|
145
|
-
]
|
|
146
|
-
],
|
|
147
|
-
"description": "Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, or other editors",
|
|
148
|
-
"extendedDescription": "Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, and Cline.",
|
|
149
|
-
"group": "ungrouped",
|
|
150
|
-
"private": false,
|
|
151
|
-
"arguments": [
|
|
152
|
-
{
|
|
153
|
-
"name": "editor",
|
|
154
|
-
"description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline"
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"name": "rules [editor]",
|
|
160
|
-
"alias": "",
|
|
161
|
-
"options": [
|
|
162
|
-
[
|
|
163
|
-
"g",
|
|
164
|
-
"global",
|
|
165
|
-
"Write rules to global configuration (default: workspace-specific)"
|
|
166
|
-
],
|
|
167
|
-
[
|
|
168
|
-
"p",
|
|
169
|
-
"print",
|
|
170
|
-
"Print rules content to screen instead of writing to file"
|
|
171
|
-
],
|
|
172
|
-
[
|
|
173
|
-
"",
|
|
174
|
-
"consumer-project",
|
|
175
|
-
"Generate rules for consumer projects that only use Bit components as packages"
|
|
176
|
-
]
|
|
177
|
-
],
|
|
178
|
-
"description": "Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, or print to screen",
|
|
179
|
-
"extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, and Cline. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
|
|
180
|
-
"group": "ungrouped",
|
|
181
|
-
"private": false,
|
|
182
|
-
"arguments": [
|
|
183
|
-
{
|
|
184
|
-
"name": "editor",
|
|
185
|
-
"description": "Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline"
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
},
|
|
191
77
|
{
|
|
192
78
|
"name": "config",
|
|
193
79
|
"alias": "",
|
|
@@ -270,144 +156,139 @@
|
|
|
270
156
|
]
|
|
271
157
|
},
|
|
272
158
|
{
|
|
273
|
-
"name": "
|
|
159
|
+
"name": "globals",
|
|
274
160
|
"alias": "",
|
|
275
161
|
"options": [
|
|
276
162
|
[
|
|
277
163
|
"j",
|
|
278
164
|
"json",
|
|
279
|
-
"
|
|
280
|
-
],
|
|
281
|
-
[
|
|
282
|
-
"",
|
|
283
|
-
"list",
|
|
284
|
-
"list all available diagnoses"
|
|
285
|
-
],
|
|
286
|
-
[
|
|
287
|
-
"s",
|
|
288
|
-
"save [filePath]",
|
|
289
|
-
"save diagnoses to a file"
|
|
290
|
-
],
|
|
291
|
-
[
|
|
292
|
-
"a",
|
|
293
|
-
"archive [filePath]",
|
|
294
|
-
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
295
|
-
],
|
|
296
|
-
[
|
|
297
|
-
"n",
|
|
298
|
-
"include-node-modules",
|
|
299
|
-
"relevant for --archive. include node_modules in the archive file"
|
|
300
|
-
],
|
|
301
|
-
[
|
|
302
|
-
"p",
|
|
303
|
-
"include-public",
|
|
304
|
-
"relevant for --archive. include public folder in the archive file"
|
|
305
|
-
],
|
|
306
|
-
[
|
|
307
|
-
"e",
|
|
308
|
-
"exclude-local-scope",
|
|
309
|
-
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
165
|
+
"json format"
|
|
310
166
|
]
|
|
311
167
|
],
|
|
312
|
-
"description": "
|
|
168
|
+
"description": "list all globals",
|
|
313
169
|
"extendedDescription": "",
|
|
314
170
|
"group": "system",
|
|
315
171
|
"private": false
|
|
316
172
|
},
|
|
317
173
|
{
|
|
318
|
-
"name": "
|
|
174
|
+
"name": "system <sub-command>",
|
|
319
175
|
"alias": "",
|
|
320
|
-
"options": [
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
"name of the workspace"
|
|
325
|
-
],
|
|
326
|
-
[
|
|
327
|
-
"",
|
|
328
|
-
"generator <env-id>",
|
|
329
|
-
"for multiple, separate by a comma. add env-ids into the generators field in the workspace config for future \"bit create\" templates"
|
|
330
|
-
],
|
|
331
|
-
[
|
|
332
|
-
"T",
|
|
333
|
-
"standalone",
|
|
334
|
-
"do not nest component store within .git directory and do not write config data inside package.json"
|
|
335
|
-
],
|
|
336
|
-
[
|
|
337
|
-
"",
|
|
338
|
-
"no-package-json",
|
|
339
|
-
"do not generate package.json"
|
|
340
|
-
],
|
|
341
|
-
[
|
|
342
|
-
"r",
|
|
343
|
-
"reset",
|
|
344
|
-
"write missing or damaged Bit files"
|
|
345
|
-
],
|
|
346
|
-
[
|
|
347
|
-
"",
|
|
348
|
-
"reset-new",
|
|
349
|
-
"reset .bitmap file as if the components were newly added and remove all model data (objects)"
|
|
350
|
-
],
|
|
351
|
-
[
|
|
352
|
-
"",
|
|
353
|
-
"reset-lane-new",
|
|
354
|
-
"same as reset-new, but it only resets components belong to lanes. main components are left intact"
|
|
355
|
-
],
|
|
356
|
-
[
|
|
357
|
-
"",
|
|
358
|
-
"reset-hard",
|
|
359
|
-
"delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-starting workspace from scratch"
|
|
360
|
-
],
|
|
361
|
-
[
|
|
362
|
-
"",
|
|
363
|
-
"reset-scope",
|
|
364
|
-
"removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intact"
|
|
365
|
-
],
|
|
366
|
-
[
|
|
367
|
-
"d",
|
|
368
|
-
"default-directory <default-directory>",
|
|
369
|
-
"set the default directory pattern to import/create components into"
|
|
370
|
-
],
|
|
371
|
-
[
|
|
372
|
-
"",
|
|
373
|
-
"default-scope <default-scope>",
|
|
374
|
-
"set the default scope for components in the workspace"
|
|
375
|
-
],
|
|
376
|
-
[
|
|
377
|
-
"f",
|
|
378
|
-
"force",
|
|
379
|
-
"force workspace initialization without clearing local objects"
|
|
380
|
-
],
|
|
381
|
-
[
|
|
382
|
-
"b",
|
|
383
|
-
"bare [name]",
|
|
384
|
-
"initialize an empty bit bare scope"
|
|
385
|
-
],
|
|
386
|
-
[
|
|
387
|
-
"s",
|
|
388
|
-
"shared <groupname>",
|
|
389
|
-
"add group write permissions to a scope properly"
|
|
390
|
-
]
|
|
391
|
-
],
|
|
392
|
-
"description": "create or reinitialize an empty workspace",
|
|
393
|
-
"extendedDescription": "if the current directory is already a workspace, it validates that bit files are correct and rewrite them if needed.",
|
|
394
|
-
"group": "workspace-setup",
|
|
176
|
+
"options": [],
|
|
177
|
+
"description": "system operations",
|
|
178
|
+
"extendedDescription": "",
|
|
179
|
+
"group": "system",
|
|
395
180
|
"private": false,
|
|
396
|
-
"
|
|
181
|
+
"commands": [
|
|
182
|
+
{
|
|
183
|
+
"name": "log",
|
|
184
|
+
"alias": "",
|
|
185
|
+
"options": [],
|
|
186
|
+
"description": "print debug.log to the screen",
|
|
187
|
+
"extendedDescription": "",
|
|
188
|
+
"group": "system",
|
|
189
|
+
"private": false
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "tail-log",
|
|
193
|
+
"alias": "",
|
|
194
|
+
"options": [],
|
|
195
|
+
"description": "print the log file to the screen as it is being written",
|
|
196
|
+
"extendedDescription": "similar to linux \"tail -f\" command",
|
|
197
|
+
"group": "system",
|
|
198
|
+
"private": false
|
|
199
|
+
}
|
|
200
|
+
]
|
|
397
201
|
},
|
|
398
202
|
{
|
|
399
|
-
"name": "
|
|
203
|
+
"name": "remote",
|
|
400
204
|
"alias": "",
|
|
401
205
|
"options": [
|
|
402
206
|
[
|
|
403
|
-
"
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
-
]
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
207
|
+
"g",
|
|
208
|
+
"global",
|
|
209
|
+
"see globally configured remotes"
|
|
210
|
+
]
|
|
211
|
+
],
|
|
212
|
+
"description": "manage set of tracked bit scope(s)",
|
|
213
|
+
"extendedDescription": "",
|
|
214
|
+
"group": "collaborate",
|
|
215
|
+
"private": false,
|
|
216
|
+
"commands": [
|
|
217
|
+
{
|
|
218
|
+
"name": "add <url>",
|
|
219
|
+
"alias": "",
|
|
220
|
+
"options": [
|
|
221
|
+
[
|
|
222
|
+
"g",
|
|
223
|
+
"global",
|
|
224
|
+
"configure a remote bit scope"
|
|
225
|
+
]
|
|
226
|
+
],
|
|
227
|
+
"description": "add a bare-scope as a remote",
|
|
228
|
+
"extendedDescription": "supported protocols are [file, http].\nfor example: \"http://localhost:3000\", \"file:///tmp/local-scope\"",
|
|
229
|
+
"group": "ungrouped",
|
|
230
|
+
"private": false
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "del <name>",
|
|
234
|
+
"alias": "",
|
|
235
|
+
"options": [
|
|
236
|
+
[
|
|
237
|
+
"g",
|
|
238
|
+
"global",
|
|
239
|
+
"remove a globally configured remote scope"
|
|
240
|
+
]
|
|
241
|
+
],
|
|
242
|
+
"description": "remove a tracked bit remote",
|
|
243
|
+
"extendedDescription": "",
|
|
244
|
+
"group": "ungrouped",
|
|
245
|
+
"private": false
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "list",
|
|
249
|
+
"alias": "",
|
|
250
|
+
"options": [
|
|
251
|
+
[
|
|
252
|
+
"g",
|
|
253
|
+
"global",
|
|
254
|
+
"see globally configured remotes"
|
|
255
|
+
]
|
|
256
|
+
],
|
|
257
|
+
"description": "list all configured remotes",
|
|
258
|
+
"extendedDescription": "",
|
|
259
|
+
"group": "collaborate",
|
|
260
|
+
"private": false
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "component-issues",
|
|
266
|
+
"alias": "",
|
|
267
|
+
"options": [
|
|
268
|
+
[
|
|
269
|
+
"j",
|
|
270
|
+
"json",
|
|
271
|
+
"output issues in json format"
|
|
272
|
+
]
|
|
273
|
+
],
|
|
274
|
+
"description": "list available component-issues",
|
|
275
|
+
"extendedDescription": "",
|
|
276
|
+
"group": "info-analysis",
|
|
277
|
+
"private": true
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "show <component-name>",
|
|
281
|
+
"alias": "",
|
|
282
|
+
"options": [
|
|
283
|
+
[
|
|
284
|
+
"j",
|
|
285
|
+
"json",
|
|
286
|
+
"return the component data in json format"
|
|
287
|
+
],
|
|
288
|
+
[
|
|
289
|
+
"l",
|
|
290
|
+
"legacy",
|
|
291
|
+
"use the legacy bit show."
|
|
411
292
|
],
|
|
412
293
|
[
|
|
413
294
|
"r",
|
|
@@ -436,21 +317,6 @@
|
|
|
436
317
|
}
|
|
437
318
|
]
|
|
438
319
|
},
|
|
439
|
-
{
|
|
440
|
-
"name": "component-issues",
|
|
441
|
-
"alias": "",
|
|
442
|
-
"options": [
|
|
443
|
-
[
|
|
444
|
-
"j",
|
|
445
|
-
"json",
|
|
446
|
-
"output issues in json format"
|
|
447
|
-
]
|
|
448
|
-
],
|
|
449
|
-
"description": "list available component-issues",
|
|
450
|
-
"extendedDescription": "",
|
|
451
|
-
"group": "info-analysis",
|
|
452
|
-
"private": true
|
|
453
|
-
},
|
|
454
320
|
{
|
|
455
321
|
"name": "envs",
|
|
456
322
|
"alias": "env",
|
|
@@ -587,158 +453,6 @@
|
|
|
587
453
|
}
|
|
588
454
|
]
|
|
589
455
|
},
|
|
590
|
-
{
|
|
591
|
-
"name": "globals",
|
|
592
|
-
"alias": "",
|
|
593
|
-
"options": [
|
|
594
|
-
[
|
|
595
|
-
"j",
|
|
596
|
-
"json",
|
|
597
|
-
"json format"
|
|
598
|
-
]
|
|
599
|
-
],
|
|
600
|
-
"description": "list all globals",
|
|
601
|
-
"extendedDescription": "",
|
|
602
|
-
"group": "system",
|
|
603
|
-
"private": false
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"name": "system <sub-command>",
|
|
607
|
-
"alias": "",
|
|
608
|
-
"options": [],
|
|
609
|
-
"description": "system operations",
|
|
610
|
-
"extendedDescription": "",
|
|
611
|
-
"group": "system",
|
|
612
|
-
"private": false,
|
|
613
|
-
"commands": [
|
|
614
|
-
{
|
|
615
|
-
"name": "log",
|
|
616
|
-
"alias": "",
|
|
617
|
-
"options": [],
|
|
618
|
-
"description": "print debug.log to the screen",
|
|
619
|
-
"extendedDescription": "",
|
|
620
|
-
"group": "system",
|
|
621
|
-
"private": false
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
"name": "tail-log",
|
|
625
|
-
"alias": "",
|
|
626
|
-
"options": [],
|
|
627
|
-
"description": "print the log file to the screen as it is being written",
|
|
628
|
-
"extendedDescription": "similar to linux \"tail -f\" command",
|
|
629
|
-
"group": "system",
|
|
630
|
-
"private": false
|
|
631
|
-
}
|
|
632
|
-
]
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"name": "remote",
|
|
636
|
-
"alias": "",
|
|
637
|
-
"options": [
|
|
638
|
-
[
|
|
639
|
-
"g",
|
|
640
|
-
"global",
|
|
641
|
-
"see globally configured remotes"
|
|
642
|
-
]
|
|
643
|
-
],
|
|
644
|
-
"description": "manage set of tracked bit scope(s)",
|
|
645
|
-
"extendedDescription": "",
|
|
646
|
-
"group": "collaborate",
|
|
647
|
-
"private": false,
|
|
648
|
-
"commands": [
|
|
649
|
-
{
|
|
650
|
-
"name": "add <url>",
|
|
651
|
-
"alias": "",
|
|
652
|
-
"options": [
|
|
653
|
-
[
|
|
654
|
-
"g",
|
|
655
|
-
"global",
|
|
656
|
-
"configure a remote bit scope"
|
|
657
|
-
]
|
|
658
|
-
],
|
|
659
|
-
"description": "add a bare-scope as a remote",
|
|
660
|
-
"extendedDescription": "supported protocols are [file, http].\nfor example: \"http://localhost:3000\", \"file:///tmp/local-scope\"",
|
|
661
|
-
"group": "ungrouped",
|
|
662
|
-
"private": false
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
"name": "del <name>",
|
|
666
|
-
"alias": "",
|
|
667
|
-
"options": [
|
|
668
|
-
[
|
|
669
|
-
"g",
|
|
670
|
-
"global",
|
|
671
|
-
"remove a globally configured remote scope"
|
|
672
|
-
]
|
|
673
|
-
],
|
|
674
|
-
"description": "remove a tracked bit remote",
|
|
675
|
-
"extendedDescription": "",
|
|
676
|
-
"group": "ungrouped",
|
|
677
|
-
"private": false
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"name": "list",
|
|
681
|
-
"alias": "",
|
|
682
|
-
"options": [
|
|
683
|
-
[
|
|
684
|
-
"g",
|
|
685
|
-
"global",
|
|
686
|
-
"see globally configured remotes"
|
|
687
|
-
]
|
|
688
|
-
],
|
|
689
|
-
"description": "list all configured remotes",
|
|
690
|
-
"extendedDescription": "",
|
|
691
|
-
"group": "collaborate",
|
|
692
|
-
"private": false
|
|
693
|
-
}
|
|
694
|
-
]
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
"name": "graph [id]",
|
|
698
|
-
"alias": "",
|
|
699
|
-
"options": [
|
|
700
|
-
[
|
|
701
|
-
"r",
|
|
702
|
-
"remote [remoteName]",
|
|
703
|
-
"remote name (name is optional, leave empty when id is specified)"
|
|
704
|
-
],
|
|
705
|
-
[
|
|
706
|
-
"",
|
|
707
|
-
"layout <name>",
|
|
708
|
-
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
709
|
-
],
|
|
710
|
-
[
|
|
711
|
-
"",
|
|
712
|
-
"png",
|
|
713
|
-
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
714
|
-
],
|
|
715
|
-
[
|
|
716
|
-
"",
|
|
717
|
-
"cycles",
|
|
718
|
-
"generate a graph of cycles only"
|
|
719
|
-
],
|
|
720
|
-
[
|
|
721
|
-
"",
|
|
722
|
-
"include-local-only",
|
|
723
|
-
"DEPRECATED: include only the components in the workspace (or local scope). This is now the default behavior."
|
|
724
|
-
],
|
|
725
|
-
[
|
|
726
|
-
"",
|
|
727
|
-
"include-dependencies",
|
|
728
|
-
"include all dependencies recursively, not just workspace (or local scope) components"
|
|
729
|
-
],
|
|
730
|
-
[
|
|
731
|
-
"j",
|
|
732
|
-
"json",
|
|
733
|
-
"json format"
|
|
734
|
-
]
|
|
735
|
-
],
|
|
736
|
-
"description": "generate an SVG image file with the components' dependencies graph",
|
|
737
|
-
"extendedDescription": "",
|
|
738
|
-
"group": "info-analysis",
|
|
739
|
-
"private": false,
|
|
740
|
-
"remoteOp": true
|
|
741
|
-
},
|
|
742
456
|
{
|
|
743
457
|
"name": "start [component-pattern]",
|
|
744
458
|
"alias": "c",
|
|
@@ -810,10 +524,56 @@
|
|
|
810
524
|
"private": true
|
|
811
525
|
},
|
|
812
526
|
{
|
|
813
|
-
"name": "
|
|
527
|
+
"name": "graph [id]",
|
|
814
528
|
"alias": "",
|
|
815
|
-
"options": [
|
|
816
|
-
|
|
529
|
+
"options": [
|
|
530
|
+
[
|
|
531
|
+
"r",
|
|
532
|
+
"remote [remoteName]",
|
|
533
|
+
"remote name (name is optional, leave empty when id is specified)"
|
|
534
|
+
],
|
|
535
|
+
[
|
|
536
|
+
"",
|
|
537
|
+
"layout <name>",
|
|
538
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
539
|
+
],
|
|
540
|
+
[
|
|
541
|
+
"",
|
|
542
|
+
"png",
|
|
543
|
+
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
544
|
+
],
|
|
545
|
+
[
|
|
546
|
+
"",
|
|
547
|
+
"cycles",
|
|
548
|
+
"generate a graph of cycles only"
|
|
549
|
+
],
|
|
550
|
+
[
|
|
551
|
+
"",
|
|
552
|
+
"include-local-only",
|
|
553
|
+
"DEPRECATED: include only the components in the workspace (or local scope). This is now the default behavior."
|
|
554
|
+
],
|
|
555
|
+
[
|
|
556
|
+
"",
|
|
557
|
+
"include-dependencies",
|
|
558
|
+
"include all dependencies recursively, not just workspace (or local scope) components"
|
|
559
|
+
],
|
|
560
|
+
[
|
|
561
|
+
"j",
|
|
562
|
+
"json",
|
|
563
|
+
"json format"
|
|
564
|
+
]
|
|
565
|
+
],
|
|
566
|
+
"description": "generate an SVG image file with the components' dependencies graph",
|
|
567
|
+
"extendedDescription": "",
|
|
568
|
+
"group": "info-analysis",
|
|
569
|
+
"private": false,
|
|
570
|
+
"remoteOp": true
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "scope <sub-command>",
|
|
574
|
+
"alias": "",
|
|
575
|
+
"options": [],
|
|
576
|
+
"description": "manage the scope-name for components",
|
|
817
577
|
"extendedDescription": "",
|
|
818
578
|
"group": "component-config",
|
|
819
579
|
"private": false,
|
|
@@ -1012,123 +772,6 @@
|
|
|
1012
772
|
"group": "advanced",
|
|
1013
773
|
"private": true
|
|
1014
774
|
},
|
|
1015
|
-
{
|
|
1016
|
-
"name": "version-history <sub-command>",
|
|
1017
|
-
"alias": "vh",
|
|
1018
|
-
"options": [],
|
|
1019
|
-
"description": "manage the version-history of components",
|
|
1020
|
-
"extendedDescription": "",
|
|
1021
|
-
"group": "version-control",
|
|
1022
|
-
"private": false,
|
|
1023
|
-
"commands": [
|
|
1024
|
-
{
|
|
1025
|
-
"name": "graph <component-id>",
|
|
1026
|
-
"alias": "",
|
|
1027
|
-
"options": [
|
|
1028
|
-
[
|
|
1029
|
-
"s",
|
|
1030
|
-
"short-hash",
|
|
1031
|
-
"show only 9 chars of the hash"
|
|
1032
|
-
],
|
|
1033
|
-
[
|
|
1034
|
-
"m",
|
|
1035
|
-
"mark <string>",
|
|
1036
|
-
"paint the given node-ids in the graph in red color, for multiple, separate by commas"
|
|
1037
|
-
],
|
|
1038
|
-
[
|
|
1039
|
-
"",
|
|
1040
|
-
"png",
|
|
1041
|
-
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
1042
|
-
],
|
|
1043
|
-
[
|
|
1044
|
-
"l",
|
|
1045
|
-
"layout <name>",
|
|
1046
|
-
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
1047
|
-
],
|
|
1048
|
-
[
|
|
1049
|
-
"",
|
|
1050
|
-
"limit <number>",
|
|
1051
|
-
"limit the number of nodes in the graph (starting from the heads)"
|
|
1052
|
-
]
|
|
1053
|
-
],
|
|
1054
|
-
"description": "generate a graph of the version history of a component and save as an SVG file",
|
|
1055
|
-
"extendedDescription": "",
|
|
1056
|
-
"group": "info-analysis",
|
|
1057
|
-
"private": false
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"name": "show <component-id>",
|
|
1061
|
-
"alias": "vh",
|
|
1062
|
-
"options": [
|
|
1063
|
-
[
|
|
1064
|
-
"s",
|
|
1065
|
-
"short-hash",
|
|
1066
|
-
"show only 9 chars of the hash"
|
|
1067
|
-
],
|
|
1068
|
-
[
|
|
1069
|
-
"j",
|
|
1070
|
-
"json",
|
|
1071
|
-
"json format"
|
|
1072
|
-
]
|
|
1073
|
-
],
|
|
1074
|
-
"description": "show the version-history of a component",
|
|
1075
|
-
"extendedDescription": "",
|
|
1076
|
-
"group": "info-analysis",
|
|
1077
|
-
"private": false
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"name": "build <component-pattern>",
|
|
1081
|
-
"alias": "",
|
|
1082
|
-
"options": [
|
|
1083
|
-
[
|
|
1084
|
-
"",
|
|
1085
|
-
"from-snap <snap>",
|
|
1086
|
-
"build the version history from a specific snap. the pattern must be a single component-id"
|
|
1087
|
-
],
|
|
1088
|
-
[
|
|
1089
|
-
"",
|
|
1090
|
-
"from-all-lanes",
|
|
1091
|
-
"build the version history from the heads of all lanes that include this component"
|
|
1092
|
-
],
|
|
1093
|
-
[
|
|
1094
|
-
"",
|
|
1095
|
-
"delete-existing",
|
|
1096
|
-
"delete the existing version history before building it"
|
|
1097
|
-
],
|
|
1098
|
-
[
|
|
1099
|
-
"",
|
|
1100
|
-
"remote <scope>",
|
|
1101
|
-
"make the change on the remote scope"
|
|
1102
|
-
]
|
|
1103
|
-
],
|
|
1104
|
-
"description": "rebuild the version history of a component. helpful when it got corrupted for some reason",
|
|
1105
|
-
"extendedDescription": "",
|
|
1106
|
-
"group": "info-analysis",
|
|
1107
|
-
"private": false,
|
|
1108
|
-
"arguments": [
|
|
1109
|
-
{
|
|
1110
|
-
"name": "component-pattern",
|
|
1111
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1112
|
-
}
|
|
1113
|
-
]
|
|
1114
|
-
}
|
|
1115
|
-
]
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
"name": "cat-version-history <id>",
|
|
1119
|
-
"alias": "cvh",
|
|
1120
|
-
"options": [
|
|
1121
|
-
[
|
|
1122
|
-
"j",
|
|
1123
|
-
"json",
|
|
1124
|
-
"json format"
|
|
1125
|
-
]
|
|
1126
|
-
],
|
|
1127
|
-
"description": "cat version-history object by component-id",
|
|
1128
|
-
"extendedDescription": "",
|
|
1129
|
-
"group": "advanced",
|
|
1130
|
-
"private": true
|
|
1131
|
-
},
|
|
1132
775
|
{
|
|
1133
776
|
"name": "eject-conf <pattern>",
|
|
1134
777
|
"alias": "",
|
|
@@ -1375,41 +1018,6 @@
|
|
|
1375
1018
|
}
|
|
1376
1019
|
]
|
|
1377
1020
|
},
|
|
1378
|
-
{
|
|
1379
|
-
"name": "git <sub-command>",
|
|
1380
|
-
"alias": "",
|
|
1381
|
-
"options": [],
|
|
1382
|
-
"description": "perform git operations",
|
|
1383
|
-
"extendedDescription": "",
|
|
1384
|
-
"group": "workspace-tools",
|
|
1385
|
-
"private": false,
|
|
1386
|
-
"commands": [
|
|
1387
|
-
{
|
|
1388
|
-
"name": "set-merge-driver",
|
|
1389
|
-
"alias": "smd",
|
|
1390
|
-
"options": [
|
|
1391
|
-
[
|
|
1392
|
-
"g",
|
|
1393
|
-
"global",
|
|
1394
|
-
"set the git merge driver globally"
|
|
1395
|
-
]
|
|
1396
|
-
],
|
|
1397
|
-
"description": "setup bit's git merge driver for bitmap files",
|
|
1398
|
-
"extendedDescription": "",
|
|
1399
|
-
"group": "workspace-tools",
|
|
1400
|
-
"private": false
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"name": "merge-bitmaps <ancestor> <current> <other>",
|
|
1404
|
-
"alias": "",
|
|
1405
|
-
"options": [],
|
|
1406
|
-
"description": "a special command to merge conflicting bitmap files during git merge",
|
|
1407
|
-
"extendedDescription": "",
|
|
1408
|
-
"group": "workspace-tools",
|
|
1409
|
-
"private": true
|
|
1410
|
-
}
|
|
1411
|
-
]
|
|
1412
|
-
},
|
|
1413
1021
|
{
|
|
1414
1022
|
"name": "list [remote-scope]",
|
|
1415
1023
|
"alias": "ls",
|
|
@@ -1602,6 +1210,41 @@
|
|
|
1602
1210
|
"remoteOp": true,
|
|
1603
1211
|
"skipWorkspace": true
|
|
1604
1212
|
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "git <sub-command>",
|
|
1215
|
+
"alias": "",
|
|
1216
|
+
"options": [],
|
|
1217
|
+
"description": "perform git operations",
|
|
1218
|
+
"extendedDescription": "",
|
|
1219
|
+
"group": "workspace-tools",
|
|
1220
|
+
"private": false,
|
|
1221
|
+
"commands": [
|
|
1222
|
+
{
|
|
1223
|
+
"name": "set-merge-driver",
|
|
1224
|
+
"alias": "smd",
|
|
1225
|
+
"options": [
|
|
1226
|
+
[
|
|
1227
|
+
"g",
|
|
1228
|
+
"global",
|
|
1229
|
+
"set the git merge driver globally"
|
|
1230
|
+
]
|
|
1231
|
+
],
|
|
1232
|
+
"description": "setup bit's git merge driver for bitmap files",
|
|
1233
|
+
"extendedDescription": "",
|
|
1234
|
+
"group": "workspace-tools",
|
|
1235
|
+
"private": false
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"name": "merge-bitmaps <ancestor> <current> <other>",
|
|
1239
|
+
"alias": "",
|
|
1240
|
+
"options": [],
|
|
1241
|
+
"description": "a special command to merge conflicting bitmap files during git merge",
|
|
1242
|
+
"extendedDescription": "",
|
|
1243
|
+
"group": "workspace-tools",
|
|
1244
|
+
"private": true
|
|
1245
|
+
}
|
|
1246
|
+
]
|
|
1247
|
+
},
|
|
1605
1248
|
{
|
|
1606
1249
|
"name": "add [path...]",
|
|
1607
1250
|
"alias": "a",
|
|
@@ -2315,6 +1958,11 @@
|
|
|
2315
1958
|
"",
|
|
2316
1959
|
"peers",
|
|
2317
1960
|
"link peer dependencies of the components too"
|
|
1961
|
+
],
|
|
1962
|
+
[
|
|
1963
|
+
"",
|
|
1964
|
+
"comp-summary",
|
|
1965
|
+
"show only a summary of component links instead of listing all components"
|
|
2318
1966
|
]
|
|
2319
1967
|
],
|
|
2320
1968
|
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
@@ -2627,24 +2275,237 @@
|
|
|
2627
2275
|
"private": false
|
|
2628
2276
|
},
|
|
2629
2277
|
{
|
|
2630
|
-
"name": "
|
|
2631
|
-
"alias": "
|
|
2632
|
-
"options": [
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
"
|
|
2640
|
-
"
|
|
2641
|
-
"
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2278
|
+
"name": "checkout <to> [component-pattern]",
|
|
2279
|
+
"alias": "U",
|
|
2280
|
+
"options": [
|
|
2281
|
+
[
|
|
2282
|
+
"i",
|
|
2283
|
+
"interactive-merge",
|
|
2284
|
+
"when a component is modified and the merge process found conflicts, display options to resolve them"
|
|
2285
|
+
],
|
|
2286
|
+
[
|
|
2287
|
+
"r",
|
|
2288
|
+
"auto-merge-resolve <merge-strategy>",
|
|
2289
|
+
"in case of merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
2290
|
+
],
|
|
2291
|
+
[
|
|
2292
|
+
"",
|
|
2293
|
+
"manual",
|
|
2294
|
+
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
2295
|
+
],
|
|
2296
|
+
[
|
|
2297
|
+
"a",
|
|
2298
|
+
"all",
|
|
2299
|
+
"all components"
|
|
2300
|
+
],
|
|
2301
|
+
[
|
|
2302
|
+
"e",
|
|
2303
|
+
"workspace-only",
|
|
2304
|
+
"only relevant for 'bit checkout head' when on a lane. don't import components from the remote lane that are not already in the workspace"
|
|
2305
|
+
],
|
|
2306
|
+
[
|
|
2307
|
+
"v",
|
|
2308
|
+
"verbose",
|
|
2309
|
+
"showing verbose output for inspection"
|
|
2310
|
+
],
|
|
2311
|
+
[
|
|
2312
|
+
"x",
|
|
2313
|
+
"skip-dependency-installation",
|
|
2314
|
+
"do not auto-install dependencies of the imported components"
|
|
2315
|
+
],
|
|
2316
|
+
[
|
|
2317
|
+
"",
|
|
2318
|
+
"force-ours",
|
|
2319
|
+
"do not merge, preserve local files as is"
|
|
2320
|
+
],
|
|
2321
|
+
[
|
|
2322
|
+
"",
|
|
2323
|
+
"force-theirs",
|
|
2324
|
+
"do not merge, just overwrite with incoming files"
|
|
2325
|
+
]
|
|
2326
|
+
],
|
|
2327
|
+
"description": "switch between component versions or remove local changes",
|
|
2328
|
+
"extendedDescription": "\n`bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n`bit checkout head [component-pattern]` => checkout to the last snap/tag (use --latest if you only want semver tags), omit [component-pattern] to checkout head for all\n`bit checkout head~x [component-pattern]` => go backward x generations from the head and checkout to that version\n`bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n`bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used). also, if a component dir is deleted from the filesystem, it'll be restored\nwhen on a lane, \"checkout head\" only checks out components on this lane. to update main components, run \"bit lane merge main\"",
|
|
2329
|
+
"group": "version-control",
|
|
2330
|
+
"private": false,
|
|
2331
|
+
"arguments": [
|
|
2332
|
+
{
|
|
2333
|
+
"name": "to",
|
|
2334
|
+
"description": "permitted values: [head, latest, reset, {specific-version}, {head~x}]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"name": "component-pattern",
|
|
2338
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2339
|
+
}
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"name": "revert <component-pattern> <to>",
|
|
2344
|
+
"alias": "",
|
|
2345
|
+
"options": [
|
|
2346
|
+
[
|
|
2347
|
+
"v",
|
|
2348
|
+
"verbose",
|
|
2349
|
+
"showing verbose output for inspection"
|
|
2350
|
+
],
|
|
2351
|
+
[
|
|
2352
|
+
"x",
|
|
2353
|
+
"skip-dependency-installation",
|
|
2354
|
+
"do not install packages of the imported components"
|
|
2355
|
+
]
|
|
2356
|
+
],
|
|
2357
|
+
"description": "replace the current component files by the specified version, leave the version intact",
|
|
2358
|
+
"extendedDescription": "",
|
|
2359
|
+
"group": "version-control",
|
|
2360
|
+
"private": false,
|
|
2361
|
+
"arguments": [
|
|
2362
|
+
{
|
|
2363
|
+
"name": "component-pattern",
|
|
2364
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "to",
|
|
2368
|
+
"description": "permitted values: [main, specific-version]. 'main' - head version on main."
|
|
2369
|
+
}
|
|
2370
|
+
]
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "eject <component-pattern>",
|
|
2374
|
+
"alias": "E",
|
|
2375
|
+
"options": [
|
|
2376
|
+
[
|
|
2377
|
+
"f",
|
|
2378
|
+
"force",
|
|
2379
|
+
"ignore local changes/versions. eject component/s even when they are staged or modified. Note: unexported tags/snaps will be lost"
|
|
2380
|
+
],
|
|
2381
|
+
[
|
|
2382
|
+
"x",
|
|
2383
|
+
"skip-dependency-installation",
|
|
2384
|
+
"do not auto-install dependencies"
|
|
2385
|
+
],
|
|
2386
|
+
[
|
|
2387
|
+
"j",
|
|
2388
|
+
"json",
|
|
2389
|
+
"print the results in JSON format"
|
|
2390
|
+
],
|
|
2391
|
+
[
|
|
2392
|
+
"",
|
|
2393
|
+
"keep-files",
|
|
2394
|
+
"keep the component files in the workspace intact"
|
|
2395
|
+
]
|
|
2396
|
+
],
|
|
2397
|
+
"description": "remove component from the workspace and install it instead as a regular npm package.",
|
|
2398
|
+
"extendedDescription": "By default the component files will be removed from the workspace",
|
|
2399
|
+
"group": "dependencies",
|
|
2400
|
+
"private": false,
|
|
2401
|
+
"arguments": [
|
|
2402
|
+
{
|
|
2403
|
+
"name": "component-pattern",
|
|
2404
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2405
|
+
}
|
|
2406
|
+
]
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
2410
|
+
"alias": "",
|
|
2411
|
+
"options": [],
|
|
2412
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
2413
|
+
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client received in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
2414
|
+
"group": "advanced",
|
|
2415
|
+
"private": true,
|
|
2416
|
+
"remoteOp": true
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "export [component-patterns...]",
|
|
2420
|
+
"alias": "e",
|
|
2421
|
+
"options": [
|
|
2422
|
+
[
|
|
2423
|
+
"e",
|
|
2424
|
+
"eject",
|
|
2425
|
+
"after export, remove the components from the workspace and install them as packages"
|
|
2426
|
+
],
|
|
2427
|
+
[
|
|
2428
|
+
"a",
|
|
2429
|
+
"all",
|
|
2430
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2431
|
+
],
|
|
2432
|
+
[
|
|
2433
|
+
"",
|
|
2434
|
+
"all-versions",
|
|
2435
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2436
|
+
],
|
|
2437
|
+
[
|
|
2438
|
+
"",
|
|
2439
|
+
"origin-directly",
|
|
2440
|
+
"avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2441
|
+
],
|
|
2442
|
+
[
|
|
2443
|
+
"",
|
|
2444
|
+
"resume <string>",
|
|
2445
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
2446
|
+
],
|
|
2447
|
+
[
|
|
2448
|
+
"",
|
|
2449
|
+
"head-only",
|
|
2450
|
+
"in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag"
|
|
2451
|
+
],
|
|
2452
|
+
[
|
|
2453
|
+
"",
|
|
2454
|
+
"ignore-missing-artifacts",
|
|
2455
|
+
"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2456
|
+
],
|
|
2457
|
+
[
|
|
2458
|
+
"",
|
|
2459
|
+
"fork-lane-new-scope",
|
|
2460
|
+
"allow exporting a forked lane into a different scope than the original scope"
|
|
2461
|
+
],
|
|
2462
|
+
[
|
|
2463
|
+
"",
|
|
2464
|
+
"open-browser",
|
|
2465
|
+
"open a browser once the export is completed in the cloud job url"
|
|
2466
|
+
],
|
|
2467
|
+
[
|
|
2468
|
+
"",
|
|
2469
|
+
"verbose",
|
|
2470
|
+
"per exported component, show the versions being exported"
|
|
2471
|
+
],
|
|
2472
|
+
[
|
|
2473
|
+
"j",
|
|
2474
|
+
"json",
|
|
2475
|
+
"show output in json format"
|
|
2476
|
+
]
|
|
2477
|
+
],
|
|
2478
|
+
"description": "export components from the workspace to remote scopes",
|
|
2479
|
+
"extendedDescription": "bit export => export all staged snaps/tags of components to their remote scope. if checked out to a lane, export the lane as well\n `bit export [pattern...]` => export components included by the pattern to their remote scope (we recommend not using a pattern in\n most scenarios so that all changes are exported simultaneously)\n you can use a pattern for multiple ids, such as bit export \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2480
|
+
"group": "collaborate",
|
|
2481
|
+
"private": false,
|
|
2482
|
+
"remoteOp": true,
|
|
2483
|
+
"arguments": [
|
|
2484
|
+
{
|
|
2485
|
+
"name": "component-patterns...",
|
|
2486
|
+
"description": "(not recommended) component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2487
|
+
}
|
|
2488
|
+
]
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"name": "deps <sub-command>",
|
|
2492
|
+
"alias": "dependencies",
|
|
2493
|
+
"options": [],
|
|
2494
|
+
"description": "manage dependencies",
|
|
2495
|
+
"extendedDescription": "",
|
|
2496
|
+
"group": "dependencies",
|
|
2497
|
+
"private": false,
|
|
2498
|
+
"commands": [
|
|
2499
|
+
{
|
|
2500
|
+
"name": "get <component-name>",
|
|
2501
|
+
"alias": "",
|
|
2502
|
+
"options": [
|
|
2503
|
+
[
|
|
2504
|
+
"",
|
|
2505
|
+
"scope",
|
|
2506
|
+
"get the data from the scope instead of the workspace"
|
|
2507
|
+
],
|
|
2508
|
+
[
|
|
2648
2509
|
"t",
|
|
2649
2510
|
"tree",
|
|
2650
2511
|
"render dependencies as a tree, similar to \"npm ls\""
|
|
@@ -2932,141 +2793,23 @@
|
|
|
2932
2793
|
]
|
|
2933
2794
|
},
|
|
2934
2795
|
{
|
|
2935
|
-
"name": "
|
|
2936
|
-
"alias": "
|
|
2796
|
+
"name": "tag [component-patterns...]",
|
|
2797
|
+
"alias": "t",
|
|
2937
2798
|
"options": [
|
|
2938
2799
|
[
|
|
2939
|
-
"
|
|
2940
|
-
"
|
|
2941
|
-
"
|
|
2800
|
+
"m",
|
|
2801
|
+
"message <message>",
|
|
2802
|
+
"a log message describing latest changes"
|
|
2942
2803
|
],
|
|
2943
2804
|
[
|
|
2944
|
-
"
|
|
2945
|
-
"
|
|
2946
|
-
"
|
|
2805
|
+
"u",
|
|
2806
|
+
"unmodified",
|
|
2807
|
+
"include unmodified components (by default, only new and modified components are tagged)"
|
|
2947
2808
|
],
|
|
2948
2809
|
[
|
|
2949
|
-
"
|
|
2950
|
-
"
|
|
2951
|
-
"
|
|
2952
|
-
],
|
|
2953
|
-
[
|
|
2954
|
-
"",
|
|
2955
|
-
"keep-files",
|
|
2956
|
-
"keep the component files in the workspace intact"
|
|
2957
|
-
]
|
|
2958
|
-
],
|
|
2959
|
-
"description": "remove component from the workspace and install it instead as a regular npm package.",
|
|
2960
|
-
"extendedDescription": "By default the component files will be removed from the workspace",
|
|
2961
|
-
"group": "dependencies",
|
|
2962
|
-
"private": false,
|
|
2963
|
-
"arguments": [
|
|
2964
|
-
{
|
|
2965
|
-
"name": "component-pattern",
|
|
2966
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2967
|
-
}
|
|
2968
|
-
]
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
2972
|
-
"alias": "",
|
|
2973
|
-
"options": [],
|
|
2974
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
2975
|
-
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client received in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
2976
|
-
"group": "advanced",
|
|
2977
|
-
"private": true,
|
|
2978
|
-
"remoteOp": true
|
|
2979
|
-
},
|
|
2980
|
-
{
|
|
2981
|
-
"name": "export [component-patterns...]",
|
|
2982
|
-
"alias": "e",
|
|
2983
|
-
"options": [
|
|
2984
|
-
[
|
|
2985
|
-
"e",
|
|
2986
|
-
"eject",
|
|
2987
|
-
"after export, remove the components from the workspace and install them as packages"
|
|
2988
|
-
],
|
|
2989
|
-
[
|
|
2990
|
-
"a",
|
|
2991
|
-
"all",
|
|
2992
|
-
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2993
|
-
],
|
|
2994
|
-
[
|
|
2995
|
-
"",
|
|
2996
|
-
"all-versions",
|
|
2997
|
-
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2998
|
-
],
|
|
2999
|
-
[
|
|
3000
|
-
"",
|
|
3001
|
-
"origin-directly",
|
|
3002
|
-
"avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
3003
|
-
],
|
|
3004
|
-
[
|
|
3005
|
-
"",
|
|
3006
|
-
"resume <string>",
|
|
3007
|
-
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
3008
|
-
],
|
|
3009
|
-
[
|
|
3010
|
-
"",
|
|
3011
|
-
"head-only",
|
|
3012
|
-
"in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag"
|
|
3013
|
-
],
|
|
3014
|
-
[
|
|
3015
|
-
"",
|
|
3016
|
-
"ignore-missing-artifacts",
|
|
3017
|
-
"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
3018
|
-
],
|
|
3019
|
-
[
|
|
3020
|
-
"",
|
|
3021
|
-
"fork-lane-new-scope",
|
|
3022
|
-
"allow exporting a forked lane into a different scope than the original scope"
|
|
3023
|
-
],
|
|
3024
|
-
[
|
|
3025
|
-
"",
|
|
3026
|
-
"open-browser",
|
|
3027
|
-
"open a browser once the export is completed in the cloud job url"
|
|
3028
|
-
],
|
|
3029
|
-
[
|
|
3030
|
-
"",
|
|
3031
|
-
"verbose",
|
|
3032
|
-
"per exported component, show the versions being exported"
|
|
3033
|
-
],
|
|
3034
|
-
[
|
|
3035
|
-
"j",
|
|
3036
|
-
"json",
|
|
3037
|
-
"show output in json format"
|
|
3038
|
-
]
|
|
3039
|
-
],
|
|
3040
|
-
"description": "export components from the workspace to remote scopes",
|
|
3041
|
-
"extendedDescription": "bit export => export all staged snaps/tags of components to their remote scope. if checked out to a lane, export the lane as well\n `bit export [pattern...]` => export components included by the pattern to their remote scope (we recommend not using a pattern in\n most scenarios so that all changes are exported simultaneously)\n you can use a pattern for multiple ids, such as bit export \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
3042
|
-
"group": "collaborate",
|
|
3043
|
-
"private": false,
|
|
3044
|
-
"remoteOp": true,
|
|
3045
|
-
"arguments": [
|
|
3046
|
-
{
|
|
3047
|
-
"name": "component-patterns...",
|
|
3048
|
-
"description": "(not recommended) component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3049
|
-
}
|
|
3050
|
-
]
|
|
3051
|
-
},
|
|
3052
|
-
{
|
|
3053
|
-
"name": "tag [component-patterns...]",
|
|
3054
|
-
"alias": "t",
|
|
3055
|
-
"options": [
|
|
3056
|
-
[
|
|
3057
|
-
"m",
|
|
3058
|
-
"message <message>",
|
|
3059
|
-
"a log message describing latest changes"
|
|
3060
|
-
],
|
|
3061
|
-
[
|
|
3062
|
-
"u",
|
|
3063
|
-
"unmodified",
|
|
3064
|
-
"include unmodified components (by default, only new and modified components are tagged)"
|
|
3065
|
-
],
|
|
3066
|
-
[
|
|
3067
|
-
"",
|
|
3068
|
-
"editor [editor]",
|
|
3069
|
-
"open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
2810
|
+
"",
|
|
2811
|
+
"editor [editor]",
|
|
2812
|
+
"open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
3070
2813
|
],
|
|
3071
2814
|
[
|
|
3072
2815
|
"v",
|
|
@@ -3349,64 +3092,65 @@
|
|
|
3349
3092
|
"private": true
|
|
3350
3093
|
},
|
|
3351
3094
|
{
|
|
3352
|
-
"name": "
|
|
3353
|
-
"alias": "
|
|
3095
|
+
"name": "test [component-pattern]",
|
|
3096
|
+
"alias": "at",
|
|
3354
3097
|
"options": [
|
|
3355
3098
|
[
|
|
3356
|
-
"
|
|
3357
|
-
"
|
|
3358
|
-
"
|
|
3359
|
-
],
|
|
3360
|
-
[
|
|
3361
|
-
"r",
|
|
3362
|
-
"auto-merge-resolve <merge-strategy>",
|
|
3363
|
-
"in case of merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
3099
|
+
"w",
|
|
3100
|
+
"watch",
|
|
3101
|
+
"start the tester in watch mode."
|
|
3364
3102
|
],
|
|
3365
3103
|
[
|
|
3366
|
-
"",
|
|
3367
|
-
"
|
|
3368
|
-
"
|
|
3104
|
+
"d",
|
|
3105
|
+
"debug",
|
|
3106
|
+
"start the tester in debug mode."
|
|
3369
3107
|
],
|
|
3370
3108
|
[
|
|
3371
3109
|
"a",
|
|
3372
3110
|
"all",
|
|
3373
|
-
"
|
|
3111
|
+
"DEPRECATED. (use --unmodified)"
|
|
3374
3112
|
],
|
|
3375
3113
|
[
|
|
3376
|
-
"
|
|
3377
|
-
"
|
|
3378
|
-
"
|
|
3114
|
+
"u",
|
|
3115
|
+
"unmodified",
|
|
3116
|
+
"test all components, not only new and modified"
|
|
3379
3117
|
],
|
|
3380
3118
|
[
|
|
3381
|
-
"
|
|
3382
|
-
"
|
|
3383
|
-
"
|
|
3119
|
+
"",
|
|
3120
|
+
"junit <filepath>",
|
|
3121
|
+
"write tests results as JUnit XML format into the specified file path"
|
|
3384
3122
|
],
|
|
3385
3123
|
[
|
|
3386
|
-
"
|
|
3387
|
-
"
|
|
3388
|
-
"
|
|
3124
|
+
"",
|
|
3125
|
+
"coverage",
|
|
3126
|
+
"show code coverage data"
|
|
3389
3127
|
],
|
|
3390
3128
|
[
|
|
3391
|
-
"",
|
|
3392
|
-
"
|
|
3393
|
-
"
|
|
3129
|
+
"e",
|
|
3130
|
+
"env <id>",
|
|
3131
|
+
"test only components assigned the given env"
|
|
3394
3132
|
],
|
|
3395
3133
|
[
|
|
3396
3134
|
"",
|
|
3397
|
-
"
|
|
3398
|
-
"
|
|
3135
|
+
"update-snapshot",
|
|
3136
|
+
"if supported by the tester, re-record every snapshot that fails during the test run"
|
|
3137
|
+
],
|
|
3138
|
+
[
|
|
3139
|
+
"s",
|
|
3140
|
+
"scope <scope-name>",
|
|
3141
|
+
"DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
|
|
3142
|
+
],
|
|
3143
|
+
[
|
|
3144
|
+
"j",
|
|
3145
|
+
"json",
|
|
3146
|
+
"return the results in json format"
|
|
3399
3147
|
]
|
|
3400
3148
|
],
|
|
3401
|
-
"description": "
|
|
3402
|
-
"extendedDescription": "
|
|
3403
|
-
"group": "
|
|
3149
|
+
"description": "test components in the workspace. by default only runs tests for new and modified components",
|
|
3150
|
+
"extendedDescription": "",
|
|
3151
|
+
"group": "testing",
|
|
3404
3152
|
"private": false,
|
|
3405
3153
|
"arguments": [
|
|
3406
|
-
{
|
|
3407
|
-
"name": "to",
|
|
3408
|
-
"description": "permitted values: [head, latest, reset, {specific-version}, {head~x}]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
3409
|
-
},
|
|
3410
3154
|
{
|
|
3411
3155
|
"name": "component-pattern",
|
|
3412
3156
|
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
@@ -3414,23 +3158,28 @@
|
|
|
3414
3158
|
]
|
|
3415
3159
|
},
|
|
3416
3160
|
{
|
|
3417
|
-
"name": "
|
|
3161
|
+
"name": "diff [component-pattern] [version] [to-version]",
|
|
3418
3162
|
"alias": "",
|
|
3419
3163
|
"options": [
|
|
3164
|
+
[
|
|
3165
|
+
"p",
|
|
3166
|
+
"parent",
|
|
3167
|
+
"compare the specified \"version\" to its immediate parent instead of comparing to the current one"
|
|
3168
|
+
],
|
|
3420
3169
|
[
|
|
3421
3170
|
"v",
|
|
3422
3171
|
"verbose",
|
|
3423
|
-
"
|
|
3172
|
+
"show a more verbose output where possible"
|
|
3424
3173
|
],
|
|
3425
3174
|
[
|
|
3426
|
-
"
|
|
3427
|
-
"
|
|
3428
|
-
"
|
|
3175
|
+
"t",
|
|
3176
|
+
"table",
|
|
3177
|
+
"show tables instead of plain text for dependencies diff"
|
|
3429
3178
|
]
|
|
3430
3179
|
],
|
|
3431
|
-
"description": "
|
|
3180
|
+
"description": "show the diff between the components' current source files and config, and their latest snapshot or tag",
|
|
3432
3181
|
"extendedDescription": "",
|
|
3433
|
-
"group": "
|
|
3182
|
+
"group": "info-analysis",
|
|
3434
3183
|
"private": false,
|
|
3435
3184
|
"arguments": [
|
|
3436
3185
|
{
|
|
@@ -3438,175 +3187,104 @@
|
|
|
3438
3187
|
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3439
3188
|
},
|
|
3440
3189
|
{
|
|
3441
|
-
"name": "
|
|
3442
|
-
"description": "
|
|
3190
|
+
"name": "version",
|
|
3191
|
+
"description": "the base version to compare from. if omitted, compares the workspace's current files to the component's latest version."
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"name": "to-version",
|
|
3195
|
+
"description": "the target version to compare against \"version\".\nif both \"version\" and \"to-version\" are provided, compare those two versions directly (ignoring the workspace)."
|
|
3196
|
+
}
|
|
3197
|
+
],
|
|
3198
|
+
"examples": [
|
|
3199
|
+
{
|
|
3200
|
+
"cmd": "diff",
|
|
3201
|
+
"description": "show diff for all modified components"
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"cmd": "diff foo",
|
|
3205
|
+
"description": "show diff for a component \"foo\""
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"cmd": "diff foo 0.0.1",
|
|
3209
|
+
"description": "show diff for a component \"foo\" from the current state to version 0.0.1"
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"cmd": "diff foo 0.0.1 0.0.2",
|
|
3213
|
+
"description": "show diff for a component \"foo\" from version 0.0.1 to version 0.0.2"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"cmd": "diff '$codeModified' ",
|
|
3217
|
+
"description": "show diff only for components with modified files. ignore config changes"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"cmd": "diff foo 0.0.2 --parent",
|
|
3221
|
+
"description": "compare \"foo@0.0.2\" to its parent version. showing what changed in 0.0.2"
|
|
3443
3222
|
}
|
|
3444
3223
|
]
|
|
3445
3224
|
},
|
|
3446
3225
|
{
|
|
3447
|
-
"name": "
|
|
3226
|
+
"name": "merge [component-pattern]",
|
|
3448
3227
|
"alias": "",
|
|
3449
3228
|
"options": [
|
|
3450
3229
|
[
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3453
|
-
"
|
|
3230
|
+
"",
|
|
3231
|
+
"ours",
|
|
3232
|
+
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep the local modification"
|
|
3454
3233
|
],
|
|
3455
3234
|
[
|
|
3456
|
-
"
|
|
3457
|
-
"
|
|
3458
|
-
"
|
|
3459
|
-
]
|
|
3460
|
-
],
|
|
3461
|
-
"description": "stash modified components",
|
|
3462
|
-
"extendedDescription": "",
|
|
3463
|
-
"group": "version-control",
|
|
3464
|
-
"private": false,
|
|
3465
|
-
"commands": [
|
|
3466
|
-
{
|
|
3467
|
-
"name": "save",
|
|
3468
|
-
"alias": "s",
|
|
3469
|
-
"options": [
|
|
3470
|
-
[
|
|
3471
|
-
"p",
|
|
3472
|
-
"pattern",
|
|
3473
|
-
"component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3474
|
-
],
|
|
3475
|
-
[
|
|
3476
|
-
"",
|
|
3477
|
-
"include-new",
|
|
3478
|
-
"EXPERIMENTAL. by default, only modified components are stashed. use this flag to include new components"
|
|
3479
|
-
],
|
|
3480
|
-
[
|
|
3481
|
-
"m",
|
|
3482
|
-
"message <string>",
|
|
3483
|
-
"message to be attached to the stashed components"
|
|
3484
|
-
]
|
|
3485
|
-
],
|
|
3486
|
-
"description": "stash modified components",
|
|
3487
|
-
"extendedDescription": "",
|
|
3488
|
-
"group": "version-control",
|
|
3489
|
-
"private": false
|
|
3490
|
-
},
|
|
3491
|
-
{
|
|
3492
|
-
"name": "load [stash-id]",
|
|
3493
|
-
"alias": "pop",
|
|
3494
|
-
"options": [
|
|
3495
|
-
[
|
|
3496
|
-
"r",
|
|
3497
|
-
"auto-merge-resolve <merge-strategy>",
|
|
3498
|
-
"in case of merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
3499
|
-
],
|
|
3500
|
-
[
|
|
3501
|
-
"",
|
|
3502
|
-
"manual",
|
|
3503
|
-
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
3504
|
-
],
|
|
3505
|
-
[
|
|
3506
|
-
"",
|
|
3507
|
-
"force-ours",
|
|
3508
|
-
"do not merge, preserve local files as is"
|
|
3509
|
-
],
|
|
3510
|
-
[
|
|
3511
|
-
"",
|
|
3512
|
-
"force-theirs",
|
|
3513
|
-
"do not merge, just overwrite with incoming files"
|
|
3514
|
-
]
|
|
3515
|
-
],
|
|
3516
|
-
"description": "apply the changes according to the stash. if no stash-id provided, it loads the latest stash",
|
|
3517
|
-
"extendedDescription": "",
|
|
3518
|
-
"group": "version-control",
|
|
3519
|
-
"private": false
|
|
3520
|
-
},
|
|
3521
|
-
{
|
|
3522
|
-
"name": "list",
|
|
3523
|
-
"alias": "",
|
|
3524
|
-
"options": [],
|
|
3525
|
-
"description": "list stash",
|
|
3526
|
-
"extendedDescription": "",
|
|
3527
|
-
"group": "version-control",
|
|
3528
|
-
"private": false
|
|
3529
|
-
}
|
|
3530
|
-
]
|
|
3531
|
-
},
|
|
3532
|
-
{
|
|
3533
|
-
"name": "schema <pattern>",
|
|
3534
|
-
"alias": "",
|
|
3535
|
-
"options": [
|
|
3536
|
-
[
|
|
3537
|
-
"r",
|
|
3538
|
-
"remote",
|
|
3539
|
-
"fetch schema from remote scope (works for components not in workspace)"
|
|
3540
|
-
],
|
|
3541
|
-
[
|
|
3542
|
-
"j",
|
|
3543
|
-
"json",
|
|
3544
|
-
"return the component schema in json format"
|
|
3545
|
-
]
|
|
3546
|
-
],
|
|
3547
|
-
"description": "extracts and displays the API schema (types, functions, classes, interfaces) of the specified component/s.",
|
|
3548
|
-
"extendedDescription": "Extracts TypeScript definitions to provide a comprehensive view of a component's public API.\nShows detailed information about exported elements including classes, interfaces, functions, types, and enums with their respective signatures and documentation.\n\nyou can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
3549
|
-
"group": "info-analysis",
|
|
3550
|
-
"private": false
|
|
3551
|
-
},
|
|
3552
|
-
{
|
|
3553
|
-
"name": "test [component-pattern]",
|
|
3554
|
-
"alias": "at",
|
|
3555
|
-
"options": [
|
|
3556
|
-
[
|
|
3557
|
-
"w",
|
|
3558
|
-
"watch",
|
|
3559
|
-
"start the tester in watch mode."
|
|
3235
|
+
"",
|
|
3236
|
+
"theirs",
|
|
3237
|
+
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, override the local modification with the specified version"
|
|
3560
3238
|
],
|
|
3561
3239
|
[
|
|
3562
|
-
"
|
|
3563
|
-
"
|
|
3564
|
-
"
|
|
3240
|
+
"",
|
|
3241
|
+
"manual",
|
|
3242
|
+
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
3565
3243
|
],
|
|
3566
3244
|
[
|
|
3567
|
-
"
|
|
3568
|
-
"
|
|
3569
|
-
"
|
|
3245
|
+
"r",
|
|
3246
|
+
"auto-merge-resolve <merge-strategy>",
|
|
3247
|
+
"in case of a conflict, resolve according to the strategy: [ours, theirs, manual]"
|
|
3570
3248
|
],
|
|
3571
3249
|
[
|
|
3572
|
-
"
|
|
3573
|
-
"
|
|
3574
|
-
"
|
|
3250
|
+
"",
|
|
3251
|
+
"abort",
|
|
3252
|
+
"in case of an unresolved merge, revert to pre-merge state"
|
|
3575
3253
|
],
|
|
3576
3254
|
[
|
|
3577
3255
|
"",
|
|
3578
|
-
"
|
|
3579
|
-
"
|
|
3256
|
+
"resolve",
|
|
3257
|
+
"mark an unresolved merge as resolved and create a new snap with the changes"
|
|
3580
3258
|
],
|
|
3581
3259
|
[
|
|
3582
3260
|
"",
|
|
3583
|
-
"
|
|
3584
|
-
"
|
|
3261
|
+
"no-snap",
|
|
3262
|
+
"do not auto snap even if the merge completed without conflicts"
|
|
3585
3263
|
],
|
|
3586
3264
|
[
|
|
3587
|
-
"
|
|
3588
|
-
"
|
|
3589
|
-
"
|
|
3265
|
+
"",
|
|
3266
|
+
"build",
|
|
3267
|
+
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
3590
3268
|
],
|
|
3591
3269
|
[
|
|
3592
3270
|
"",
|
|
3593
|
-
"
|
|
3594
|
-
"
|
|
3271
|
+
"verbose",
|
|
3272
|
+
"show details of components that were not merged successfully"
|
|
3595
3273
|
],
|
|
3596
3274
|
[
|
|
3597
|
-
"
|
|
3598
|
-
"
|
|
3599
|
-
"
|
|
3275
|
+
"x",
|
|
3276
|
+
"skip-dependency-installation",
|
|
3277
|
+
"do not install new dependencies resulting from the merge"
|
|
3600
3278
|
],
|
|
3601
3279
|
[
|
|
3602
|
-
"
|
|
3603
|
-
"
|
|
3604
|
-
"
|
|
3280
|
+
"m",
|
|
3281
|
+
"message <message>",
|
|
3282
|
+
"override the default message for the auto snap"
|
|
3605
3283
|
]
|
|
3606
3284
|
],
|
|
3607
|
-
"description": "
|
|
3608
|
-
"extendedDescription": "",
|
|
3609
|
-
"group": "
|
|
3285
|
+
"description": "merge changes of the remote head into local - auto-snaps all merged components",
|
|
3286
|
+
"extendedDescription": "merge changes of the remote head into local when they are diverged. when on a lane, merge the remote head of the lane into the local\nand creates snaps for merged components that have diverged, on the lane.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command.",
|
|
3287
|
+
"group": "version-control",
|
|
3610
3288
|
"private": false,
|
|
3611
3289
|
"arguments": [
|
|
3612
3290
|
{
|
|
@@ -3616,264 +3294,33 @@
|
|
|
3616
3294
|
]
|
|
3617
3295
|
},
|
|
3618
3296
|
{
|
|
3619
|
-
"name": "
|
|
3620
|
-
"alias": "",
|
|
3297
|
+
"name": "lane [sub-command]",
|
|
3298
|
+
"alias": "l",
|
|
3621
3299
|
"options": [
|
|
3622
3300
|
[
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
3625
|
-
"
|
|
3301
|
+
"d",
|
|
3302
|
+
"details",
|
|
3303
|
+
"show more details on the state of each component in each lane"
|
|
3626
3304
|
],
|
|
3627
3305
|
[
|
|
3628
|
-
"
|
|
3629
|
-
"
|
|
3630
|
-
"show
|
|
3306
|
+
"j",
|
|
3307
|
+
"json",
|
|
3308
|
+
"show lanes details in json format"
|
|
3631
3309
|
],
|
|
3632
|
-
[
|
|
3633
|
-
"t",
|
|
3634
|
-
"table",
|
|
3635
|
-
"show tables instead of plain text for dependencies diff"
|
|
3636
|
-
]
|
|
3637
|
-
],
|
|
3638
|
-
"description": "show the diff between the components' current source files and config, and their latest snapshot or tag",
|
|
3639
|
-
"extendedDescription": "",
|
|
3640
|
-
"group": "info-analysis",
|
|
3641
|
-
"private": false,
|
|
3642
|
-
"arguments": [
|
|
3643
|
-
{
|
|
3644
|
-
"name": "component-pattern",
|
|
3645
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3646
|
-
},
|
|
3647
|
-
{
|
|
3648
|
-
"name": "version",
|
|
3649
|
-
"description": "the base version to compare from. if omitted, compares the workspace's current files to the component's latest version."
|
|
3650
|
-
},
|
|
3651
|
-
{
|
|
3652
|
-
"name": "to-version",
|
|
3653
|
-
"description": "the target version to compare against \"version\".\nif both \"version\" and \"to-version\" are provided, compare those two versions directly (ignoring the workspace)."
|
|
3654
|
-
}
|
|
3655
|
-
],
|
|
3656
|
-
"examples": [
|
|
3657
|
-
{
|
|
3658
|
-
"cmd": "diff",
|
|
3659
|
-
"description": "show diff for all modified components"
|
|
3660
|
-
},
|
|
3661
|
-
{
|
|
3662
|
-
"cmd": "diff foo",
|
|
3663
|
-
"description": "show diff for a component \"foo\""
|
|
3664
|
-
},
|
|
3665
|
-
{
|
|
3666
|
-
"cmd": "diff foo 0.0.1",
|
|
3667
|
-
"description": "show diff for a component \"foo\" from the current state to version 0.0.1"
|
|
3668
|
-
},
|
|
3669
|
-
{
|
|
3670
|
-
"cmd": "diff foo 0.0.1 0.0.2",
|
|
3671
|
-
"description": "show diff for a component \"foo\" from version 0.0.1 to version 0.0.2"
|
|
3672
|
-
},
|
|
3673
|
-
{
|
|
3674
|
-
"cmd": "diff '$codeModified' ",
|
|
3675
|
-
"description": "show diff only for components with modified files. ignore config changes"
|
|
3676
|
-
},
|
|
3677
|
-
{
|
|
3678
|
-
"cmd": "diff foo 0.0.2 --parent",
|
|
3679
|
-
"description": "compare \"foo@0.0.2\" to its parent version. showing what changed in 0.0.2"
|
|
3680
|
-
}
|
|
3681
|
-
]
|
|
3682
|
-
},
|
|
3683
|
-
{
|
|
3684
|
-
"name": "log <id>",
|
|
3685
|
-
"alias": "",
|
|
3686
|
-
"options": [
|
|
3687
3310
|
[
|
|
3688
3311
|
"r",
|
|
3689
|
-
"remote",
|
|
3690
|
-
"show
|
|
3312
|
+
"remote <remote-scope-name>",
|
|
3313
|
+
"show all remote lanes from the specified scope"
|
|
3691
3314
|
],
|
|
3692
3315
|
[
|
|
3693
3316
|
"",
|
|
3694
|
-
"
|
|
3695
|
-
"
|
|
3696
|
-
],
|
|
3697
|
-
[
|
|
3698
|
-
"o",
|
|
3699
|
-
"one-line",
|
|
3700
|
-
"show each log entry in one line"
|
|
3701
|
-
],
|
|
3702
|
-
[
|
|
3703
|
-
"f",
|
|
3704
|
-
"full-hash",
|
|
3705
|
-
"show full hash of the snap (default to the first 9 characters for --one-line/--parents flags)"
|
|
3706
|
-
],
|
|
3707
|
-
[
|
|
3708
|
-
"m",
|
|
3709
|
-
"full-message",
|
|
3710
|
-
"show full message of the snap (default to the first line for --one-line/--parents flags)"
|
|
3317
|
+
"merged",
|
|
3318
|
+
"list only merged lanes"
|
|
3711
3319
|
],
|
|
3712
3320
|
[
|
|
3713
3321
|
"",
|
|
3714
|
-
"
|
|
3715
|
-
"
|
|
3716
|
-
],
|
|
3717
|
-
[
|
|
3718
|
-
"j",
|
|
3719
|
-
"json",
|
|
3720
|
-
"json format"
|
|
3721
|
-
]
|
|
3722
|
-
],
|
|
3723
|
-
"description": "show components(s) version history",
|
|
3724
|
-
"extendedDescription": "",
|
|
3725
|
-
"group": "version-control",
|
|
3726
|
-
"private": false,
|
|
3727
|
-
"remoteOp": true,
|
|
3728
|
-
"skipWorkspace": true,
|
|
3729
|
-
"arguments": [
|
|
3730
|
-
{
|
|
3731
|
-
"name": "id",
|
|
3732
|
-
"description": "component-id or component-name"
|
|
3733
|
-
}
|
|
3734
|
-
]
|
|
3735
|
-
},
|
|
3736
|
-
{
|
|
3737
|
-
"name": "log-file <filepath>",
|
|
3738
|
-
"alias": "",
|
|
3739
|
-
"options": [
|
|
3740
|
-
[
|
|
3741
|
-
"o",
|
|
3742
|
-
"one-line",
|
|
3743
|
-
"show each log entry in one line"
|
|
3744
|
-
]
|
|
3745
|
-
],
|
|
3746
|
-
"description": "EXPERIMENTAL. show file history",
|
|
3747
|
-
"extendedDescription": "",
|
|
3748
|
-
"group": "version-control",
|
|
3749
|
-
"private": false,
|
|
3750
|
-
"arguments": [
|
|
3751
|
-
{
|
|
3752
|
-
"name": "filepath",
|
|
3753
|
-
"description": "file path relative to the workspace"
|
|
3754
|
-
}
|
|
3755
|
-
]
|
|
3756
|
-
},
|
|
3757
|
-
{
|
|
3758
|
-
"name": "blame <filepath>",
|
|
3759
|
-
"alias": "",
|
|
3760
|
-
"options": [
|
|
3761
|
-
[
|
|
3762
|
-
"m",
|
|
3763
|
-
"include-message",
|
|
3764
|
-
"show the commit message"
|
|
3765
|
-
]
|
|
3766
|
-
],
|
|
3767
|
-
"description": "EXPERIMENTAL. per line, show who and when was the last to modify it",
|
|
3768
|
-
"extendedDescription": "",
|
|
3769
|
-
"group": "version-control",
|
|
3770
|
-
"private": false,
|
|
3771
|
-
"arguments": [
|
|
3772
|
-
{
|
|
3773
|
-
"name": "filepath",
|
|
3774
|
-
"description": "file path relative to the workspace"
|
|
3775
|
-
}
|
|
3776
|
-
]
|
|
3777
|
-
},
|
|
3778
|
-
{
|
|
3779
|
-
"name": "merge [component-pattern]",
|
|
3780
|
-
"alias": "",
|
|
3781
|
-
"options": [
|
|
3782
|
-
[
|
|
3783
|
-
"",
|
|
3784
|
-
"ours",
|
|
3785
|
-
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep the local modification"
|
|
3786
|
-
],
|
|
3787
|
-
[
|
|
3788
|
-
"",
|
|
3789
|
-
"theirs",
|
|
3790
|
-
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, override the local modification with the specified version"
|
|
3791
|
-
],
|
|
3792
|
-
[
|
|
3793
|
-
"",
|
|
3794
|
-
"manual",
|
|
3795
|
-
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
3796
|
-
],
|
|
3797
|
-
[
|
|
3798
|
-
"r",
|
|
3799
|
-
"auto-merge-resolve <merge-strategy>",
|
|
3800
|
-
"in case of a conflict, resolve according to the strategy: [ours, theirs, manual]"
|
|
3801
|
-
],
|
|
3802
|
-
[
|
|
3803
|
-
"",
|
|
3804
|
-
"abort",
|
|
3805
|
-
"in case of an unresolved merge, revert to pre-merge state"
|
|
3806
|
-
],
|
|
3807
|
-
[
|
|
3808
|
-
"",
|
|
3809
|
-
"resolve",
|
|
3810
|
-
"mark an unresolved merge as resolved and create a new snap with the changes"
|
|
3811
|
-
],
|
|
3812
|
-
[
|
|
3813
|
-
"",
|
|
3814
|
-
"no-snap",
|
|
3815
|
-
"do not auto snap even if the merge completed without conflicts"
|
|
3816
|
-
],
|
|
3817
|
-
[
|
|
3818
|
-
"",
|
|
3819
|
-
"build",
|
|
3820
|
-
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
3821
|
-
],
|
|
3822
|
-
[
|
|
3823
|
-
"",
|
|
3824
|
-
"verbose",
|
|
3825
|
-
"show details of components that were not merged successfully"
|
|
3826
|
-
],
|
|
3827
|
-
[
|
|
3828
|
-
"x",
|
|
3829
|
-
"skip-dependency-installation",
|
|
3830
|
-
"do not install new dependencies resulting from the merge"
|
|
3831
|
-
],
|
|
3832
|
-
[
|
|
3833
|
-
"m",
|
|
3834
|
-
"message <message>",
|
|
3835
|
-
"override the default message for the auto snap"
|
|
3836
|
-
]
|
|
3837
|
-
],
|
|
3838
|
-
"description": "merge changes of the remote head into local - auto-snaps all merged components",
|
|
3839
|
-
"extendedDescription": "merge changes of the remote head into local when they are diverged. when on a lane, merge the remote head of the lane into the local\nand creates snaps for merged components that have diverged, on the lane.\nif no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).\noptionally use '--abort' to revert the last merge. to revert a lane merge, use \"bit lane merge-abort\" command.",
|
|
3840
|
-
"group": "version-control",
|
|
3841
|
-
"private": false,
|
|
3842
|
-
"arguments": [
|
|
3843
|
-
{
|
|
3844
|
-
"name": "component-pattern",
|
|
3845
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3846
|
-
}
|
|
3847
|
-
]
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"name": "lane [sub-command]",
|
|
3851
|
-
"alias": "l",
|
|
3852
|
-
"options": [
|
|
3853
|
-
[
|
|
3854
|
-
"d",
|
|
3855
|
-
"details",
|
|
3856
|
-
"show more details on the state of each component in each lane"
|
|
3857
|
-
],
|
|
3858
|
-
[
|
|
3859
|
-
"j",
|
|
3860
|
-
"json",
|
|
3861
|
-
"show lanes details in json format"
|
|
3862
|
-
],
|
|
3863
|
-
[
|
|
3864
|
-
"r",
|
|
3865
|
-
"remote <remote-scope-name>",
|
|
3866
|
-
"show all remote lanes from the specified scope"
|
|
3867
|
-
],
|
|
3868
|
-
[
|
|
3869
|
-
"",
|
|
3870
|
-
"merged",
|
|
3871
|
-
"list only merged lanes"
|
|
3872
|
-
],
|
|
3873
|
-
[
|
|
3874
|
-
"",
|
|
3875
|
-
"not-merged",
|
|
3876
|
-
"list only lanes that haven't been merged"
|
|
3322
|
+
"not-merged",
|
|
3323
|
+
"list only lanes that haven't been merged"
|
|
3877
3324
|
]
|
|
3878
3325
|
],
|
|
3879
3326
|
"description": "manage lanes - if no sub-command is used, runs \"bit lane list\"",
|
|
@@ -4485,116 +3932,900 @@
|
|
|
4485
3932
|
"skip confirmation"
|
|
4486
3933
|
],
|
|
4487
3934
|
[
|
|
4488
|
-
"x",
|
|
4489
|
-
"skip-dependency-installation",
|
|
4490
|
-
"do not install packages of the imported components"
|
|
3935
|
+
"x",
|
|
3936
|
+
"skip-dependency-installation",
|
|
3937
|
+
"do not install packages of the imported components"
|
|
3938
|
+
]
|
|
3939
|
+
],
|
|
3940
|
+
"description": "abort the recent lane-merge. revert the lane object and checkout accordingly",
|
|
3941
|
+
"extendedDescription": "restore the lane-object to its state before the last \"bit lane merge\" command.\nalso, checkout the workspace components according to the restored lane state",
|
|
3942
|
+
"private": true,
|
|
3943
|
+
"remoteOp": true
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
"name": "merge-move <new-lane-name>",
|
|
3947
|
+
"alias": "",
|
|
3948
|
+
"options": [
|
|
3949
|
+
[
|
|
3950
|
+
"s",
|
|
3951
|
+
"scope <scope-name>",
|
|
3952
|
+
"remote scope to which this lane will be exported, default to the workspace.json's defaultScope (can be changed up to first export of the lane with \"bit lane change-scope\")"
|
|
3953
|
+
]
|
|
3954
|
+
],
|
|
3955
|
+
"description": "EXPERIMENT. move the current merge state into a new lane. the current lane will be reset",
|
|
3956
|
+
"extendedDescription": "this command is useful when you got a messy merge state that from one hand you don't want\nto loose the changes, but on the other hand, you want to keep your lane without those changes.\nthis command does the following:\n1. create a new lane with the current merge state. including all the filesystem changes. (in practice, it leaves the fs intact)\n2. reset the current lane to the state before the merge. so then once done with the new lane, you can switch to the current lane and it'll be clean.",
|
|
3957
|
+
"remoteOp": true
|
|
3958
|
+
}
|
|
3959
|
+
]
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
"name": "switch <lane>",
|
|
3963
|
+
"alias": "",
|
|
3964
|
+
"options": [
|
|
3965
|
+
[
|
|
3966
|
+
"h",
|
|
3967
|
+
"head",
|
|
3968
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
3969
|
+
],
|
|
3970
|
+
[
|
|
3971
|
+
"r",
|
|
3972
|
+
"auto-merge-resolve <merge-strategy>",
|
|
3973
|
+
"merge local changes with the checked out version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
3974
|
+
],
|
|
3975
|
+
[
|
|
3976
|
+
"",
|
|
3977
|
+
"force-ours",
|
|
3978
|
+
"do not merge, preserve local files as is"
|
|
3979
|
+
],
|
|
3980
|
+
[
|
|
3981
|
+
"",
|
|
3982
|
+
"force-theirs",
|
|
3983
|
+
"do not merge, just overwrite with incoming files"
|
|
3984
|
+
],
|
|
3985
|
+
[
|
|
3986
|
+
"a",
|
|
3987
|
+
"get-all",
|
|
3988
|
+
"DEPRECATED. this is currently the default behavior"
|
|
3989
|
+
],
|
|
3990
|
+
[
|
|
3991
|
+
"",
|
|
3992
|
+
"workspace-only",
|
|
3993
|
+
"checkout only the components in the workspace to the selected lane"
|
|
3994
|
+
],
|
|
3995
|
+
[
|
|
3996
|
+
"x",
|
|
3997
|
+
"skip-dependency-installation",
|
|
3998
|
+
"do not install dependencies of the imported components"
|
|
3999
|
+
],
|
|
4000
|
+
[
|
|
4001
|
+
"p",
|
|
4002
|
+
"pattern <component-pattern>",
|
|
4003
|
+
"switch only the lane components matching the specified component-pattern. only works when the workspace is empty\n\ncomponent name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4004
|
+
],
|
|
4005
|
+
[
|
|
4006
|
+
"n",
|
|
4007
|
+
"alias <string>",
|
|
4008
|
+
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
4009
|
+
],
|
|
4010
|
+
[
|
|
4011
|
+
"",
|
|
4012
|
+
"verbose",
|
|
4013
|
+
"display detailed information about components that legitimately were not switched"
|
|
4014
|
+
],
|
|
4015
|
+
[
|
|
4016
|
+
"j",
|
|
4017
|
+
"json",
|
|
4018
|
+
"return the output as JSON"
|
|
4019
|
+
],
|
|
4020
|
+
[
|
|
4021
|
+
"",
|
|
4022
|
+
"branch",
|
|
4023
|
+
"create and checkout a new git branch named after the lane"
|
|
4024
|
+
]
|
|
4025
|
+
],
|
|
4026
|
+
"description": "switch to the specified lane",
|
|
4027
|
+
"extendedDescription": "",
|
|
4028
|
+
"group": "collaborate",
|
|
4029
|
+
"private": true,
|
|
4030
|
+
"arguments": [
|
|
4031
|
+
{
|
|
4032
|
+
"name": "lane",
|
|
4033
|
+
"description": "lane-name or lane-id (if lane is not local) to switch to"
|
|
4034
|
+
}
|
|
4035
|
+
]
|
|
4036
|
+
},
|
|
4037
|
+
{
|
|
4038
|
+
"name": "cat-lane-history <lane-name>",
|
|
4039
|
+
"alias": "clh",
|
|
4040
|
+
"options": [],
|
|
4041
|
+
"description": "cat lane-history object by lane-name",
|
|
4042
|
+
"extendedDescription": "",
|
|
4043
|
+
"group": "advanced",
|
|
4044
|
+
"private": true
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
"name": "insights [names...]",
|
|
4048
|
+
"alias": "",
|
|
4049
|
+
"options": [
|
|
4050
|
+
[
|
|
4051
|
+
"l",
|
|
4052
|
+
"list",
|
|
4053
|
+
"list all insights"
|
|
4054
|
+
],
|
|
4055
|
+
[
|
|
4056
|
+
"j",
|
|
4057
|
+
"json",
|
|
4058
|
+
"return the insights in json format"
|
|
4059
|
+
],
|
|
4060
|
+
[
|
|
4061
|
+
"",
|
|
4062
|
+
"include-deps",
|
|
4063
|
+
"include component dependencies that are not in this workspace"
|
|
4064
|
+
]
|
|
4065
|
+
],
|
|
4066
|
+
"description": "Insights on component graph",
|
|
4067
|
+
"extendedDescription": "",
|
|
4068
|
+
"group": "workspace-tools",
|
|
4069
|
+
"private": true
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"name": "status",
|
|
4073
|
+
"alias": "s",
|
|
4074
|
+
"options": [
|
|
4075
|
+
[
|
|
4076
|
+
"j",
|
|
4077
|
+
"json",
|
|
4078
|
+
"return a json version of the component"
|
|
4079
|
+
],
|
|
4080
|
+
[
|
|
4081
|
+
"w",
|
|
4082
|
+
"warnings",
|
|
4083
|
+
"show warnings. by default, only issues that block tag/snap are shown"
|
|
4084
|
+
],
|
|
4085
|
+
[
|
|
4086
|
+
"",
|
|
4087
|
+
"verbose",
|
|
4088
|
+
"show extra data: full snap hashes for staged components, and divergence point for lanes"
|
|
4089
|
+
],
|
|
4090
|
+
[
|
|
4091
|
+
"l",
|
|
4092
|
+
"lanes",
|
|
4093
|
+
"when on a lane, show updates from main and updates from forked lanes"
|
|
4094
|
+
],
|
|
4095
|
+
[
|
|
4096
|
+
"",
|
|
4097
|
+
"strict",
|
|
4098
|
+
"exit with code 1 if any issues are found (both errors and warnings)"
|
|
4099
|
+
],
|
|
4100
|
+
[
|
|
4101
|
+
"",
|
|
4102
|
+
"fail-on-error",
|
|
4103
|
+
"exit with code 1 only when tag/snap blocker issues are found (not warnings)"
|
|
4104
|
+
],
|
|
4105
|
+
[
|
|
4106
|
+
"c",
|
|
4107
|
+
"ignore-circular-dependencies",
|
|
4108
|
+
"do not check for circular dependencies to get the results quicker"
|
|
4109
|
+
]
|
|
4110
|
+
],
|
|
4111
|
+
"description": "present the current status of components in the workspace, including indication of detected issues",
|
|
4112
|
+
"extendedDescription": "",
|
|
4113
|
+
"group": "info-analysis",
|
|
4114
|
+
"private": false
|
|
4115
|
+
},
|
|
4116
|
+
{
|
|
4117
|
+
"name": "mini-status [component-pattern]",
|
|
4118
|
+
"alias": "ms",
|
|
4119
|
+
"options": [
|
|
4120
|
+
[
|
|
4121
|
+
"",
|
|
4122
|
+
"show-issues",
|
|
4123
|
+
"show component issues (slows down the command)"
|
|
4124
|
+
],
|
|
4125
|
+
[
|
|
4126
|
+
"c",
|
|
4127
|
+
"ignore-circular-dependencies",
|
|
4128
|
+
"do not check for circular dependencies to get the results quicker (relevant when --show-issues flag is used)"
|
|
4129
|
+
],
|
|
4130
|
+
[
|
|
4131
|
+
"j",
|
|
4132
|
+
"json",
|
|
4133
|
+
"json format"
|
|
4134
|
+
]
|
|
4135
|
+
],
|
|
4136
|
+
"description": "basic status for fast execution",
|
|
4137
|
+
"extendedDescription": "shows only modified/new components with code changes. for the full status, use \"bit status\".\nthis command only checks source code changes, it doesn't check for config/aspect/dependency changes",
|
|
4138
|
+
"group": "info-analysis",
|
|
4139
|
+
"private": true,
|
|
4140
|
+
"arguments": [
|
|
4141
|
+
{
|
|
4142
|
+
"name": "component-pattern",
|
|
4143
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4144
|
+
}
|
|
4145
|
+
]
|
|
4146
|
+
},
|
|
4147
|
+
{
|
|
4148
|
+
"name": "ci <sub-command>",
|
|
4149
|
+
"alias": "",
|
|
4150
|
+
"options": [],
|
|
4151
|
+
"description": "CI commands",
|
|
4152
|
+
"extendedDescription": "",
|
|
4153
|
+
"group": "collaborate",
|
|
4154
|
+
"private": false,
|
|
4155
|
+
"commands": [
|
|
4156
|
+
{
|
|
4157
|
+
"name": "verify",
|
|
4158
|
+
"alias": "",
|
|
4159
|
+
"options": [],
|
|
4160
|
+
"description": "CI commands",
|
|
4161
|
+
"extendedDescription": "",
|
|
4162
|
+
"group": "development",
|
|
4163
|
+
"private": false
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
"name": "pr",
|
|
4167
|
+
"alias": "",
|
|
4168
|
+
"options": [
|
|
4169
|
+
[
|
|
4170
|
+
"m",
|
|
4171
|
+
"message <message>",
|
|
4172
|
+
"If set, set it as the snap message, if not, try and grab from git-commit-message"
|
|
4173
|
+
],
|
|
4174
|
+
[
|
|
4175
|
+
"l",
|
|
4176
|
+
"lane <lane>",
|
|
4177
|
+
"If set, use as the lane name, if not available, grab from git-branch name"
|
|
4178
|
+
],
|
|
4179
|
+
[
|
|
4180
|
+
"b",
|
|
4181
|
+
"build",
|
|
4182
|
+
"Set to true to build the app locally, false (default) will build on Ripple CI"
|
|
4183
|
+
],
|
|
4184
|
+
[
|
|
4185
|
+
"s",
|
|
4186
|
+
"strict",
|
|
4187
|
+
"Set to true to fail on warnings as well as errors, false (default) only fails on errors"
|
|
4188
|
+
]
|
|
4189
|
+
],
|
|
4190
|
+
"description": "This command is meant to run when a PR was open/updated and meant to export a lane to bit-cloud.",
|
|
4191
|
+
"extendedDescription": "",
|
|
4192
|
+
"group": "collaborate",
|
|
4193
|
+
"private": false
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"name": "merge",
|
|
4197
|
+
"alias": "",
|
|
4198
|
+
"options": [
|
|
4199
|
+
[
|
|
4200
|
+
"m",
|
|
4201
|
+
"message <message>",
|
|
4202
|
+
"If set, use it as the tag message, if not, try and grab from git-commit-message"
|
|
4203
|
+
],
|
|
4204
|
+
[
|
|
4205
|
+
"b",
|
|
4206
|
+
"build",
|
|
4207
|
+
"Set to true to build the app locally, false (default) will build on Ripple CI"
|
|
4208
|
+
],
|
|
4209
|
+
[
|
|
4210
|
+
"s",
|
|
4211
|
+
"strict",
|
|
4212
|
+
"Set to true to fail on warnings as well as errors, false (default) only fails on errors"
|
|
4213
|
+
],
|
|
4214
|
+
[
|
|
4215
|
+
"l",
|
|
4216
|
+
"increment <level>",
|
|
4217
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
4218
|
+
],
|
|
4219
|
+
[
|
|
4220
|
+
"",
|
|
4221
|
+
"prerelease-id <id>",
|
|
4222
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
4223
|
+
],
|
|
4224
|
+
[
|
|
4225
|
+
"p",
|
|
4226
|
+
"patch",
|
|
4227
|
+
"syntactic sugar for \"--increment patch\""
|
|
4228
|
+
],
|
|
4229
|
+
[
|
|
4230
|
+
"",
|
|
4231
|
+
"minor",
|
|
4232
|
+
"syntactic sugar for \"--increment minor\""
|
|
4233
|
+
],
|
|
4234
|
+
[
|
|
4235
|
+
"",
|
|
4236
|
+
"major",
|
|
4237
|
+
"syntactic sugar for \"--increment major\""
|
|
4238
|
+
],
|
|
4239
|
+
[
|
|
4240
|
+
"",
|
|
4241
|
+
"pre-release [identifier]",
|
|
4242
|
+
"syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
|
|
4243
|
+
],
|
|
4244
|
+
[
|
|
4245
|
+
"",
|
|
4246
|
+
"increment-by <number>",
|
|
4247
|
+
"(default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3."
|
|
4248
|
+
],
|
|
4249
|
+
[
|
|
4250
|
+
"",
|
|
4251
|
+
"verbose",
|
|
4252
|
+
"show verbose output"
|
|
4253
|
+
]
|
|
4254
|
+
],
|
|
4255
|
+
"description": "Merges a PR",
|
|
4256
|
+
"extendedDescription": "",
|
|
4257
|
+
"group": "collaborate",
|
|
4258
|
+
"private": false
|
|
4259
|
+
}
|
|
4260
|
+
]
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
"name": "mcp-server [sub-command]",
|
|
4264
|
+
"alias": "",
|
|
4265
|
+
"options": [
|
|
4266
|
+
[
|
|
4267
|
+
"",
|
|
4268
|
+
"include-additional <commands>",
|
|
4269
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
4270
|
+
],
|
|
4271
|
+
[
|
|
4272
|
+
"",
|
|
4273
|
+
"bit-bin <binary>",
|
|
4274
|
+
"Specify the binary to use for running Bit commands (default: \"bit\")"
|
|
4275
|
+
],
|
|
4276
|
+
[
|
|
4277
|
+
"",
|
|
4278
|
+
"consumer-project",
|
|
4279
|
+
"For non-Bit workspaces that only consume Bit component packages. Enables only \"schema\", \"show\", and \"remote_search\" tools"
|
|
4280
|
+
]
|
|
4281
|
+
],
|
|
4282
|
+
"description": "Start the Bit CLI Model Context Protocol (MCP) server for programmatic and remote access to Bit commands.",
|
|
4283
|
+
"extendedDescription": "",
|
|
4284
|
+
"group": "advanced",
|
|
4285
|
+
"private": false,
|
|
4286
|
+
"commands": [
|
|
4287
|
+
{
|
|
4288
|
+
"name": "start",
|
|
4289
|
+
"alias": "",
|
|
4290
|
+
"options": [
|
|
4291
|
+
[
|
|
4292
|
+
"",
|
|
4293
|
+
"include-additional <commands>",
|
|
4294
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
4295
|
+
],
|
|
4296
|
+
[
|
|
4297
|
+
"",
|
|
4298
|
+
"bit-bin <binary>",
|
|
4299
|
+
"Specify the binary to use for running Bit commands (default: \"bit\")"
|
|
4300
|
+
],
|
|
4301
|
+
[
|
|
4302
|
+
"",
|
|
4303
|
+
"consumer-project",
|
|
4304
|
+
"For non-Bit workspaces that only consume Bit component packages. Enables only \"schema\", \"show\", and \"remote_search\" tools"
|
|
4305
|
+
]
|
|
4306
|
+
],
|
|
4307
|
+
"description": "Start the MCP server",
|
|
4308
|
+
"extendedDescription": "Start the Model Context Protocol (MCP) server with the specified configuration",
|
|
4309
|
+
"group": "advanced",
|
|
4310
|
+
"private": false
|
|
4311
|
+
},
|
|
4312
|
+
{
|
|
4313
|
+
"name": "setup [editor]",
|
|
4314
|
+
"alias": "",
|
|
4315
|
+
"options": [
|
|
4316
|
+
[
|
|
4317
|
+
"",
|
|
4318
|
+
"consumer-project",
|
|
4319
|
+
"Configure for non-Bit workspaces that only consume Bit component packages"
|
|
4320
|
+
],
|
|
4321
|
+
[
|
|
4322
|
+
"",
|
|
4323
|
+
"include-additional <commands>",
|
|
4324
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
4325
|
+
],
|
|
4326
|
+
[
|
|
4327
|
+
"g",
|
|
4328
|
+
"global",
|
|
4329
|
+
"Setup global configuration (default: workspace-specific)"
|
|
4330
|
+
]
|
|
4331
|
+
],
|
|
4332
|
+
"description": "Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, Claude Code, or other editors",
|
|
4333
|
+
"extendedDescription": "Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, Cline, and Claude Code.",
|
|
4334
|
+
"group": "ungrouped",
|
|
4335
|
+
"private": false,
|
|
4336
|
+
"arguments": [
|
|
4337
|
+
{
|
|
4338
|
+
"name": "editor",
|
|
4339
|
+
"description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline, claude-code"
|
|
4340
|
+
}
|
|
4341
|
+
]
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "rules [editor]",
|
|
4345
|
+
"alias": "",
|
|
4346
|
+
"options": [
|
|
4347
|
+
[
|
|
4348
|
+
"g",
|
|
4349
|
+
"global",
|
|
4350
|
+
"Write rules to global configuration (default: workspace-specific)"
|
|
4351
|
+
],
|
|
4352
|
+
[
|
|
4353
|
+
"p",
|
|
4354
|
+
"print",
|
|
4355
|
+
"Print rules content to screen instead of writing to file"
|
|
4356
|
+
],
|
|
4357
|
+
[
|
|
4358
|
+
"",
|
|
4359
|
+
"consumer-project",
|
|
4360
|
+
"Generate rules for consumer projects that only use Bit components as packages"
|
|
4361
|
+
]
|
|
4362
|
+
],
|
|
4363
|
+
"description": "Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, Claude Code, or print to screen",
|
|
4364
|
+
"extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, Cline, and Claude Code. For Claude Code, creates .claude/bit.md to avoid overwriting existing CLAUDE.md files. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
|
|
4365
|
+
"group": "ungrouped",
|
|
4366
|
+
"private": false,
|
|
4367
|
+
"arguments": [
|
|
4368
|
+
{
|
|
4369
|
+
"name": "editor",
|
|
4370
|
+
"description": "Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline, claude-code"
|
|
4371
|
+
}
|
|
4372
|
+
]
|
|
4373
|
+
}
|
|
4374
|
+
]
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"name": "doctor [diagnosis-name]",
|
|
4378
|
+
"alias": "",
|
|
4379
|
+
"options": [
|
|
4380
|
+
[
|
|
4381
|
+
"j",
|
|
4382
|
+
"json",
|
|
4383
|
+
"return diagnoses in json format"
|
|
4384
|
+
],
|
|
4385
|
+
[
|
|
4386
|
+
"",
|
|
4387
|
+
"list",
|
|
4388
|
+
"list all available diagnoses"
|
|
4389
|
+
],
|
|
4390
|
+
[
|
|
4391
|
+
"s",
|
|
4392
|
+
"save [filePath]",
|
|
4393
|
+
"save diagnoses to a file"
|
|
4394
|
+
],
|
|
4395
|
+
[
|
|
4396
|
+
"a",
|
|
4397
|
+
"archive [filePath]",
|
|
4398
|
+
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
4399
|
+
],
|
|
4400
|
+
[
|
|
4401
|
+
"n",
|
|
4402
|
+
"include-node-modules",
|
|
4403
|
+
"relevant for --archive. include node_modules in the archive file"
|
|
4404
|
+
],
|
|
4405
|
+
[
|
|
4406
|
+
"p",
|
|
4407
|
+
"include-public",
|
|
4408
|
+
"relevant for --archive. include public folder in the archive file"
|
|
4409
|
+
],
|
|
4410
|
+
[
|
|
4411
|
+
"e",
|
|
4412
|
+
"exclude-local-scope",
|
|
4413
|
+
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
4414
|
+
]
|
|
4415
|
+
],
|
|
4416
|
+
"description": "diagnose a bit workspace",
|
|
4417
|
+
"extendedDescription": "",
|
|
4418
|
+
"group": "system",
|
|
4419
|
+
"private": false
|
|
4420
|
+
},
|
|
4421
|
+
{
|
|
4422
|
+
"name": "init [path]",
|
|
4423
|
+
"alias": "",
|
|
4424
|
+
"options": [
|
|
4425
|
+
[
|
|
4426
|
+
"n",
|
|
4427
|
+
"name <workspace-name>",
|
|
4428
|
+
"name of the workspace"
|
|
4429
|
+
],
|
|
4430
|
+
[
|
|
4431
|
+
"",
|
|
4432
|
+
"generator <env-id>",
|
|
4433
|
+
"for multiple, separate by a comma. add env-ids into the generators field in the workspace config for future \"bit create\" templates"
|
|
4434
|
+
],
|
|
4435
|
+
[
|
|
4436
|
+
"T",
|
|
4437
|
+
"standalone",
|
|
4438
|
+
"do not nest component store within .git directory and do not write config data inside package.json"
|
|
4439
|
+
],
|
|
4440
|
+
[
|
|
4441
|
+
"",
|
|
4442
|
+
"no-package-json",
|
|
4443
|
+
"do not generate package.json"
|
|
4444
|
+
],
|
|
4445
|
+
[
|
|
4446
|
+
"r",
|
|
4447
|
+
"reset",
|
|
4448
|
+
"write missing or damaged Bit files"
|
|
4449
|
+
],
|
|
4450
|
+
[
|
|
4451
|
+
"",
|
|
4452
|
+
"reset-new",
|
|
4453
|
+
"reset .bitmap file as if the components were newly added and remove all model data (objects)"
|
|
4454
|
+
],
|
|
4455
|
+
[
|
|
4456
|
+
"",
|
|
4457
|
+
"reset-lane-new",
|
|
4458
|
+
"same as reset-new, but it only resets components belong to lanes. main components are left intact"
|
|
4459
|
+
],
|
|
4460
|
+
[
|
|
4461
|
+
"",
|
|
4462
|
+
"reset-hard",
|
|
4463
|
+
"delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-starting workspace from scratch"
|
|
4464
|
+
],
|
|
4465
|
+
[
|
|
4466
|
+
"",
|
|
4467
|
+
"reset-scope",
|
|
4468
|
+
"removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intact"
|
|
4469
|
+
],
|
|
4470
|
+
[
|
|
4471
|
+
"d",
|
|
4472
|
+
"default-directory <default-directory>",
|
|
4473
|
+
"set the default directory pattern to import/create components into"
|
|
4474
|
+
],
|
|
4475
|
+
[
|
|
4476
|
+
"",
|
|
4477
|
+
"default-scope <default-scope>",
|
|
4478
|
+
"set the default scope for components in the workspace"
|
|
4479
|
+
],
|
|
4480
|
+
[
|
|
4481
|
+
"f",
|
|
4482
|
+
"force",
|
|
4483
|
+
"force workspace initialization without clearing local objects"
|
|
4484
|
+
],
|
|
4485
|
+
[
|
|
4486
|
+
"b",
|
|
4487
|
+
"bare [name]",
|
|
4488
|
+
"initialize an empty bit bare scope"
|
|
4489
|
+
],
|
|
4490
|
+
[
|
|
4491
|
+
"s",
|
|
4492
|
+
"shared <groupname>",
|
|
4493
|
+
"add group write permissions to a scope properly"
|
|
4494
|
+
],
|
|
4495
|
+
[
|
|
4496
|
+
"",
|
|
4497
|
+
"external-package-manager",
|
|
4498
|
+
"enable external package manager mode (npm/yarn/pnpm)"
|
|
4499
|
+
],
|
|
4500
|
+
[
|
|
4501
|
+
"",
|
|
4502
|
+
"skip-interactive",
|
|
4503
|
+
"skip interactive mode for Git repositories"
|
|
4504
|
+
]
|
|
4505
|
+
],
|
|
4506
|
+
"description": "create or reinitialize an empty workspace",
|
|
4507
|
+
"extendedDescription": "if the current directory is already a workspace, it validates that bit files are correct and rewrite them if needed.",
|
|
4508
|
+
"group": "workspace-setup",
|
|
4509
|
+
"private": false,
|
|
4510
|
+
"skipWorkspace": true
|
|
4511
|
+
},
|
|
4512
|
+
{
|
|
4513
|
+
"name": "version-history <sub-command>",
|
|
4514
|
+
"alias": "vh",
|
|
4515
|
+
"options": [],
|
|
4516
|
+
"description": "manage the version-history of components",
|
|
4517
|
+
"extendedDescription": "",
|
|
4518
|
+
"group": "version-control",
|
|
4519
|
+
"private": false,
|
|
4520
|
+
"commands": [
|
|
4521
|
+
{
|
|
4522
|
+
"name": "graph <component-id>",
|
|
4523
|
+
"alias": "",
|
|
4524
|
+
"options": [
|
|
4525
|
+
[
|
|
4526
|
+
"s",
|
|
4527
|
+
"short-hash",
|
|
4528
|
+
"show only 9 chars of the hash"
|
|
4529
|
+
],
|
|
4530
|
+
[
|
|
4531
|
+
"m",
|
|
4532
|
+
"mark <string>",
|
|
4533
|
+
"paint the given node-ids in the graph in red color, for multiple, separate by commas"
|
|
4534
|
+
],
|
|
4535
|
+
[
|
|
4536
|
+
"",
|
|
4537
|
+
"png",
|
|
4538
|
+
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
4539
|
+
],
|
|
4540
|
+
[
|
|
4541
|
+
"l",
|
|
4542
|
+
"layout <name>",
|
|
4543
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
4544
|
+
],
|
|
4545
|
+
[
|
|
4546
|
+
"",
|
|
4547
|
+
"limit <number>",
|
|
4548
|
+
"limit the number of nodes in the graph (starting from the heads)"
|
|
4549
|
+
]
|
|
4550
|
+
],
|
|
4551
|
+
"description": "generate a graph of the version history of a component and save as an SVG file",
|
|
4552
|
+
"extendedDescription": "",
|
|
4553
|
+
"group": "info-analysis",
|
|
4554
|
+
"private": false
|
|
4555
|
+
},
|
|
4556
|
+
{
|
|
4557
|
+
"name": "show <component-id>",
|
|
4558
|
+
"alias": "vh",
|
|
4559
|
+
"options": [
|
|
4560
|
+
[
|
|
4561
|
+
"s",
|
|
4562
|
+
"short-hash",
|
|
4563
|
+
"show only 9 chars of the hash"
|
|
4564
|
+
],
|
|
4565
|
+
[
|
|
4566
|
+
"j",
|
|
4567
|
+
"json",
|
|
4568
|
+
"json format"
|
|
4569
|
+
]
|
|
4570
|
+
],
|
|
4571
|
+
"description": "show the version-history of a component",
|
|
4572
|
+
"extendedDescription": "",
|
|
4573
|
+
"group": "info-analysis",
|
|
4574
|
+
"private": false
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"name": "build <component-pattern>",
|
|
4578
|
+
"alias": "",
|
|
4579
|
+
"options": [
|
|
4580
|
+
[
|
|
4581
|
+
"",
|
|
4582
|
+
"from-snap <snap>",
|
|
4583
|
+
"build the version history from a specific snap. the pattern must be a single component-id"
|
|
4584
|
+
],
|
|
4585
|
+
[
|
|
4586
|
+
"",
|
|
4587
|
+
"from-all-lanes",
|
|
4588
|
+
"build the version history from the heads of all lanes that include this component"
|
|
4589
|
+
],
|
|
4590
|
+
[
|
|
4591
|
+
"",
|
|
4592
|
+
"delete-existing",
|
|
4593
|
+
"delete the existing version history before building it"
|
|
4594
|
+
],
|
|
4595
|
+
[
|
|
4596
|
+
"",
|
|
4597
|
+
"remote <scope>",
|
|
4598
|
+
"make the change on the remote scope"
|
|
4599
|
+
]
|
|
4600
|
+
],
|
|
4601
|
+
"description": "rebuild the version history of a component. helpful when it got corrupted for some reason",
|
|
4602
|
+
"extendedDescription": "",
|
|
4603
|
+
"group": "info-analysis",
|
|
4604
|
+
"private": false,
|
|
4605
|
+
"arguments": [
|
|
4606
|
+
{
|
|
4607
|
+
"name": "component-pattern",
|
|
4608
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4609
|
+
}
|
|
4610
|
+
]
|
|
4611
|
+
}
|
|
4612
|
+
]
|
|
4613
|
+
},
|
|
4614
|
+
{
|
|
4615
|
+
"name": "cat-version-history <id>",
|
|
4616
|
+
"alias": "cvh",
|
|
4617
|
+
"options": [
|
|
4618
|
+
[
|
|
4619
|
+
"j",
|
|
4620
|
+
"json",
|
|
4621
|
+
"json format"
|
|
4622
|
+
]
|
|
4623
|
+
],
|
|
4624
|
+
"description": "cat version-history object by component-id",
|
|
4625
|
+
"extendedDescription": "",
|
|
4626
|
+
"group": "advanced",
|
|
4627
|
+
"private": true
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
"name": "stash <sub-command>",
|
|
4631
|
+
"alias": "",
|
|
4632
|
+
"options": [
|
|
4633
|
+
[
|
|
4634
|
+
"p",
|
|
4635
|
+
"pattern",
|
|
4636
|
+
"component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4637
|
+
],
|
|
4638
|
+
[
|
|
4639
|
+
"m",
|
|
4640
|
+
"message <string>",
|
|
4641
|
+
"message to be attached to the stashed components"
|
|
4642
|
+
]
|
|
4643
|
+
],
|
|
4644
|
+
"description": "stash modified components",
|
|
4645
|
+
"extendedDescription": "",
|
|
4646
|
+
"group": "version-control",
|
|
4647
|
+
"private": false,
|
|
4648
|
+
"commands": [
|
|
4649
|
+
{
|
|
4650
|
+
"name": "save",
|
|
4651
|
+
"alias": "s",
|
|
4652
|
+
"options": [
|
|
4653
|
+
[
|
|
4654
|
+
"p",
|
|
4655
|
+
"pattern",
|
|
4656
|
+
"component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4657
|
+
],
|
|
4658
|
+
[
|
|
4659
|
+
"",
|
|
4660
|
+
"include-new",
|
|
4661
|
+
"EXPERIMENTAL. by default, only modified components are stashed. use this flag to include new components"
|
|
4662
|
+
],
|
|
4663
|
+
[
|
|
4664
|
+
"m",
|
|
4665
|
+
"message <string>",
|
|
4666
|
+
"message to be attached to the stashed components"
|
|
4667
|
+
]
|
|
4668
|
+
],
|
|
4669
|
+
"description": "stash modified components",
|
|
4670
|
+
"extendedDescription": "",
|
|
4671
|
+
"group": "version-control",
|
|
4672
|
+
"private": false
|
|
4673
|
+
},
|
|
4674
|
+
{
|
|
4675
|
+
"name": "load [stash-id]",
|
|
4676
|
+
"alias": "pop",
|
|
4677
|
+
"options": [
|
|
4678
|
+
[
|
|
4679
|
+
"r",
|
|
4680
|
+
"auto-merge-resolve <merge-strategy>",
|
|
4681
|
+
"in case of merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
4682
|
+
],
|
|
4683
|
+
[
|
|
4684
|
+
"",
|
|
4685
|
+
"manual",
|
|
4686
|
+
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
4687
|
+
],
|
|
4688
|
+
[
|
|
4689
|
+
"",
|
|
4690
|
+
"force-ours",
|
|
4691
|
+
"do not merge, preserve local files as is"
|
|
4692
|
+
],
|
|
4693
|
+
[
|
|
4694
|
+
"",
|
|
4695
|
+
"force-theirs",
|
|
4696
|
+
"do not merge, just overwrite with incoming files"
|
|
4491
4697
|
]
|
|
4492
4698
|
],
|
|
4493
|
-
"description": "
|
|
4494
|
-
"extendedDescription": "
|
|
4495
|
-
"
|
|
4496
|
-
"
|
|
4699
|
+
"description": "apply the changes according to the stash. if no stash-id provided, it loads the latest stash",
|
|
4700
|
+
"extendedDescription": "",
|
|
4701
|
+
"group": "version-control",
|
|
4702
|
+
"private": false
|
|
4497
4703
|
},
|
|
4498
4704
|
{
|
|
4499
|
-
"name": "
|
|
4705
|
+
"name": "list",
|
|
4500
4706
|
"alias": "",
|
|
4501
|
-
"options": [
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
]
|
|
4507
|
-
],
|
|
4508
|
-
"description": "EXPERIMENT. move the current merge state into a new lane. the current lane will be reset",
|
|
4509
|
-
"extendedDescription": "this command is useful when you got a messy merge state that from one hand you don't want\nto loose the changes, but on the other hand, you want to keep your lane without those changes.\nthis command does the following:\n1. create a new lane with the current merge state. including all the filesystem changes. (in practice, it leaves the fs intact)\n2. reset the current lane to the state before the merge. so then once done with the new lane, you can switch to the current lane and it'll be clean.",
|
|
4510
|
-
"remoteOp": true
|
|
4707
|
+
"options": [],
|
|
4708
|
+
"description": "list stash",
|
|
4709
|
+
"extendedDescription": "",
|
|
4710
|
+
"group": "version-control",
|
|
4711
|
+
"private": false
|
|
4511
4712
|
}
|
|
4512
4713
|
]
|
|
4513
4714
|
},
|
|
4514
4715
|
{
|
|
4515
|
-
"name": "
|
|
4716
|
+
"name": "schema <pattern>",
|
|
4516
4717
|
"alias": "",
|
|
4517
4718
|
"options": [
|
|
4518
|
-
[
|
|
4519
|
-
"h",
|
|
4520
|
-
"head",
|
|
4521
|
-
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4522
|
-
],
|
|
4523
4719
|
[
|
|
4524
4720
|
"r",
|
|
4525
|
-
"
|
|
4526
|
-
"
|
|
4527
|
-
],
|
|
4528
|
-
[
|
|
4529
|
-
"",
|
|
4530
|
-
"force-ours",
|
|
4531
|
-
"do not merge, preserve local files as is"
|
|
4721
|
+
"remote",
|
|
4722
|
+
"fetch schema from remote scope (works for components not in workspace)"
|
|
4532
4723
|
],
|
|
4533
4724
|
[
|
|
4534
|
-
"",
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4537
|
-
]
|
|
4725
|
+
"j",
|
|
4726
|
+
"json",
|
|
4727
|
+
"return the component schema in json format"
|
|
4728
|
+
]
|
|
4729
|
+
],
|
|
4730
|
+
"description": "extracts and displays the API schema (types, functions, classes, interfaces) of the specified component/s.",
|
|
4731
|
+
"extendedDescription": "Extracts TypeScript definitions to provide a comprehensive view of a component's public API.\nShows detailed information about exported elements including classes, interfaces, functions, types, and enums with their respective signatures and documentation.\n\nyou can use a `<pattern>` for multiple component ids, such as `bit schema \"org.scope/utils/**\"`.\nuse comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button'\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nalways wrap the pattern with single quotes to avoid collision with shell commands.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.\n",
|
|
4732
|
+
"group": "info-analysis",
|
|
4733
|
+
"private": false
|
|
4734
|
+
},
|
|
4735
|
+
{
|
|
4736
|
+
"name": "log <id>",
|
|
4737
|
+
"alias": "",
|
|
4738
|
+
"options": [
|
|
4538
4739
|
[
|
|
4539
|
-
"
|
|
4540
|
-
"
|
|
4541
|
-
"
|
|
4740
|
+
"r",
|
|
4741
|
+
"remote",
|
|
4742
|
+
"show log of a remote component"
|
|
4542
4743
|
],
|
|
4543
4744
|
[
|
|
4544
4745
|
"",
|
|
4545
|
-
"
|
|
4546
|
-
"
|
|
4746
|
+
"parents",
|
|
4747
|
+
"show parents and lanes data"
|
|
4547
4748
|
],
|
|
4548
4749
|
[
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4551
|
-
"
|
|
4750
|
+
"o",
|
|
4751
|
+
"one-line",
|
|
4752
|
+
"show each log entry in one line"
|
|
4552
4753
|
],
|
|
4553
4754
|
[
|
|
4554
|
-
"
|
|
4555
|
-
"
|
|
4556
|
-
"
|
|
4755
|
+
"f",
|
|
4756
|
+
"full-hash",
|
|
4757
|
+
"show full hash of the snap (default to the first 9 characters for --one-line/--parents flags)"
|
|
4557
4758
|
],
|
|
4558
4759
|
[
|
|
4559
|
-
"
|
|
4560
|
-
"
|
|
4561
|
-
"
|
|
4760
|
+
"m",
|
|
4761
|
+
"full-message",
|
|
4762
|
+
"show full message of the snap (default to the first line for --one-line/--parents flags)"
|
|
4562
4763
|
],
|
|
4563
4764
|
[
|
|
4564
4765
|
"",
|
|
4565
|
-
"
|
|
4566
|
-
"
|
|
4766
|
+
"show-hidden",
|
|
4767
|
+
"show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config)"
|
|
4567
4768
|
],
|
|
4568
4769
|
[
|
|
4569
4770
|
"j",
|
|
4570
4771
|
"json",
|
|
4571
|
-
"
|
|
4572
|
-
]
|
|
4772
|
+
"json format"
|
|
4773
|
+
]
|
|
4774
|
+
],
|
|
4775
|
+
"description": "show components(s) version history",
|
|
4776
|
+
"extendedDescription": "",
|
|
4777
|
+
"group": "version-control",
|
|
4778
|
+
"private": false,
|
|
4779
|
+
"remoteOp": true,
|
|
4780
|
+
"skipWorkspace": true,
|
|
4781
|
+
"arguments": [
|
|
4782
|
+
{
|
|
4783
|
+
"name": "id",
|
|
4784
|
+
"description": "component-id or component-name"
|
|
4785
|
+
}
|
|
4786
|
+
]
|
|
4787
|
+
},
|
|
4788
|
+
{
|
|
4789
|
+
"name": "log-file <filepath>",
|
|
4790
|
+
"alias": "",
|
|
4791
|
+
"options": [
|
|
4573
4792
|
[
|
|
4574
|
-
"",
|
|
4575
|
-
"
|
|
4576
|
-
"
|
|
4793
|
+
"o",
|
|
4794
|
+
"one-line",
|
|
4795
|
+
"show each log entry in one line"
|
|
4577
4796
|
]
|
|
4578
4797
|
],
|
|
4579
|
-
"description": "
|
|
4798
|
+
"description": "EXPERIMENTAL. show file history",
|
|
4580
4799
|
"extendedDescription": "",
|
|
4581
|
-
"group": "
|
|
4582
|
-
"private":
|
|
4800
|
+
"group": "version-control",
|
|
4801
|
+
"private": false,
|
|
4583
4802
|
"arguments": [
|
|
4584
4803
|
{
|
|
4585
|
-
"name": "
|
|
4586
|
-
"description": "
|
|
4804
|
+
"name": "filepath",
|
|
4805
|
+
"description": "file path relative to the workspace"
|
|
4587
4806
|
}
|
|
4588
4807
|
]
|
|
4589
4808
|
},
|
|
4590
4809
|
{
|
|
4591
|
-
"name": "
|
|
4592
|
-
"alias": "
|
|
4593
|
-
"options": [
|
|
4594
|
-
|
|
4810
|
+
"name": "blame <filepath>",
|
|
4811
|
+
"alias": "",
|
|
4812
|
+
"options": [
|
|
4813
|
+
[
|
|
4814
|
+
"m",
|
|
4815
|
+
"include-message",
|
|
4816
|
+
"show the commit message"
|
|
4817
|
+
]
|
|
4818
|
+
],
|
|
4819
|
+
"description": "EXPERIMENTAL. per line, show who and when was the last to modify it",
|
|
4595
4820
|
"extendedDescription": "",
|
|
4596
|
-
"group": "
|
|
4597
|
-
"private":
|
|
4821
|
+
"group": "version-control",
|
|
4822
|
+
"private": false,
|
|
4823
|
+
"arguments": [
|
|
4824
|
+
{
|
|
4825
|
+
"name": "filepath",
|
|
4826
|
+
"description": "file path relative to the workspace"
|
|
4827
|
+
}
|
|
4828
|
+
]
|
|
4598
4829
|
},
|
|
4599
4830
|
{
|
|
4600
4831
|
"name": "server",
|
|
@@ -4807,102 +5038,6 @@
|
|
|
4807
5038
|
}
|
|
4808
5039
|
]
|
|
4809
5040
|
},
|
|
4810
|
-
{
|
|
4811
|
-
"name": "insights [names...]",
|
|
4812
|
-
"alias": "",
|
|
4813
|
-
"options": [
|
|
4814
|
-
[
|
|
4815
|
-
"l",
|
|
4816
|
-
"list",
|
|
4817
|
-
"list all insights"
|
|
4818
|
-
],
|
|
4819
|
-
[
|
|
4820
|
-
"j",
|
|
4821
|
-
"json",
|
|
4822
|
-
"return the insights in json format"
|
|
4823
|
-
],
|
|
4824
|
-
[
|
|
4825
|
-
"",
|
|
4826
|
-
"include-deps",
|
|
4827
|
-
"include component dependencies that are not in this workspace"
|
|
4828
|
-
]
|
|
4829
|
-
],
|
|
4830
|
-
"description": "Insights on component graph",
|
|
4831
|
-
"extendedDescription": "",
|
|
4832
|
-
"group": "workspace-tools",
|
|
4833
|
-
"private": true
|
|
4834
|
-
},
|
|
4835
|
-
{
|
|
4836
|
-
"name": "status",
|
|
4837
|
-
"alias": "s",
|
|
4838
|
-
"options": [
|
|
4839
|
-
[
|
|
4840
|
-
"j",
|
|
4841
|
-
"json",
|
|
4842
|
-
"return a json version of the component"
|
|
4843
|
-
],
|
|
4844
|
-
[
|
|
4845
|
-
"w",
|
|
4846
|
-
"warnings",
|
|
4847
|
-
"show warnings. by default, only issues that block tag/snap are shown"
|
|
4848
|
-
],
|
|
4849
|
-
[
|
|
4850
|
-
"",
|
|
4851
|
-
"verbose",
|
|
4852
|
-
"show extra data: full snap hashes for staged components, and divergence point for lanes"
|
|
4853
|
-
],
|
|
4854
|
-
[
|
|
4855
|
-
"l",
|
|
4856
|
-
"lanes",
|
|
4857
|
-
"when on a lane, show updates from main and updates from forked lanes"
|
|
4858
|
-
],
|
|
4859
|
-
[
|
|
4860
|
-
"",
|
|
4861
|
-
"strict",
|
|
4862
|
-
"in case issues found, exit with code 1"
|
|
4863
|
-
],
|
|
4864
|
-
[
|
|
4865
|
-
"c",
|
|
4866
|
-
"ignore-circular-dependencies",
|
|
4867
|
-
"do not check for circular dependencies to get the results quicker"
|
|
4868
|
-
]
|
|
4869
|
-
],
|
|
4870
|
-
"description": "present the current status of components in the workspace, including indication of detected issues",
|
|
4871
|
-
"extendedDescription": "",
|
|
4872
|
-
"group": "info-analysis",
|
|
4873
|
-
"private": false
|
|
4874
|
-
},
|
|
4875
|
-
{
|
|
4876
|
-
"name": "mini-status [component-pattern]",
|
|
4877
|
-
"alias": "ms",
|
|
4878
|
-
"options": [
|
|
4879
|
-
[
|
|
4880
|
-
"",
|
|
4881
|
-
"show-issues",
|
|
4882
|
-
"show component issues (slows down the command)"
|
|
4883
|
-
],
|
|
4884
|
-
[
|
|
4885
|
-
"c",
|
|
4886
|
-
"ignore-circular-dependencies",
|
|
4887
|
-
"do not check for circular dependencies to get the results quicker (relevant when --show-issues flag is used)"
|
|
4888
|
-
],
|
|
4889
|
-
[
|
|
4890
|
-
"j",
|
|
4891
|
-
"json",
|
|
4892
|
-
"json format"
|
|
4893
|
-
]
|
|
4894
|
-
],
|
|
4895
|
-
"description": "basic status for fast execution",
|
|
4896
|
-
"extendedDescription": "shows only modified/new components with code changes. for the full status, use \"bit status\".\nthis command only checks source code changes, it doesn't check for config/aspect/dependency changes",
|
|
4897
|
-
"group": "info-analysis",
|
|
4898
|
-
"private": true,
|
|
4899
|
-
"arguments": [
|
|
4900
|
-
{
|
|
4901
|
-
"name": "component-pattern",
|
|
4902
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4903
|
-
}
|
|
4904
|
-
]
|
|
4905
|
-
},
|
|
4906
5041
|
{
|
|
4907
5042
|
"name": "clear-cache",
|
|
4908
5043
|
"alias": "cc",
|