@teambit/harmony.content.cli-reference 2.0.458 → 2.0.459
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 +1804 -1724
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +1804 -1724
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1730949656105.js → preview-1731067157600.js} +2 -2
- package/package.json +2 -2
package/dist/cli-reference.json
CHANGED
|
@@ -75,222 +75,288 @@
|
|
|
75
75
|
"private": false
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"name": "
|
|
78
|
+
"name": "component-issues",
|
|
79
79
|
"alias": "",
|
|
80
80
|
"options": [
|
|
81
81
|
[
|
|
82
82
|
"j",
|
|
83
83
|
"json",
|
|
84
|
-
"
|
|
85
|
-
],
|
|
86
|
-
[
|
|
87
|
-
"",
|
|
88
|
-
"list",
|
|
89
|
-
"list all available diagnoses"
|
|
90
|
-
],
|
|
91
|
-
[
|
|
92
|
-
"s",
|
|
93
|
-
"save [filePath]",
|
|
94
|
-
"save diagnoses to a file"
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"a",
|
|
98
|
-
"archive [filePath]",
|
|
99
|
-
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
100
|
-
],
|
|
101
|
-
[
|
|
102
|
-
"n",
|
|
103
|
-
"include-node-modules",
|
|
104
|
-
"relevant for --archive. include node_modules in the archive file"
|
|
105
|
-
],
|
|
106
|
-
[
|
|
107
|
-
"p",
|
|
108
|
-
"include-public",
|
|
109
|
-
"relevant for --archive. include public folder in the archive file"
|
|
110
|
-
],
|
|
111
|
-
[
|
|
112
|
-
"e",
|
|
113
|
-
"exclude-local-scope",
|
|
114
|
-
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
84
|
+
"output issues in json format"
|
|
115
85
|
]
|
|
116
86
|
],
|
|
117
|
-
"description": "
|
|
87
|
+
"description": "list available component-issues",
|
|
118
88
|
"extendedDescription": "",
|
|
119
|
-
"group": "
|
|
120
|
-
"private":
|
|
89
|
+
"group": "development",
|
|
90
|
+
"private": true
|
|
121
91
|
},
|
|
122
92
|
{
|
|
123
|
-
"name": "
|
|
93
|
+
"name": "show <component-name>",
|
|
124
94
|
"alias": "",
|
|
125
95
|
"options": [
|
|
126
96
|
[
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
],
|
|
131
|
-
[
|
|
132
|
-
"",
|
|
133
|
-
"generator <env-id>",
|
|
134
|
-
"for multiple, separate by a comma. add env-ids into the generators field in the workspace config for future \"bit create\" templates"
|
|
135
|
-
],
|
|
136
|
-
[
|
|
137
|
-
"T",
|
|
138
|
-
"standalone",
|
|
139
|
-
"do not nest component store within .git directory and do not write config data inside package.json"
|
|
97
|
+
"j",
|
|
98
|
+
"json",
|
|
99
|
+
"return the component data in json format"
|
|
140
100
|
],
|
|
141
101
|
[
|
|
142
|
-
"",
|
|
143
|
-
"
|
|
144
|
-
"
|
|
102
|
+
"l",
|
|
103
|
+
"legacy",
|
|
104
|
+
"use the legacy bit show."
|
|
145
105
|
],
|
|
146
106
|
[
|
|
147
107
|
"r",
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
],
|
|
151
|
-
[
|
|
152
|
-
"",
|
|
153
|
-
"reset-new",
|
|
154
|
-
"reset .bitmap file as if the components were newly added and remove all model data (objects)"
|
|
155
|
-
],
|
|
156
|
-
[
|
|
157
|
-
"",
|
|
158
|
-
"reset-lane-new",
|
|
159
|
-
"same as reset-new, but it only resets components belong to lanes. main components are left intact"
|
|
160
|
-
],
|
|
161
|
-
[
|
|
162
|
-
"",
|
|
163
|
-
"reset-hard",
|
|
164
|
-
"delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-starting workspace from scratch"
|
|
165
|
-
],
|
|
166
|
-
[
|
|
167
|
-
"",
|
|
168
|
-
"reset-scope",
|
|
169
|
-
"removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intact"
|
|
170
|
-
],
|
|
171
|
-
[
|
|
172
|
-
"d",
|
|
173
|
-
"default-directory <default-directory>",
|
|
174
|
-
"set the default directory pattern to import/create components into"
|
|
175
|
-
],
|
|
176
|
-
[
|
|
177
|
-
"",
|
|
178
|
-
"default-scope <default-scope>",
|
|
179
|
-
"set the default scope for components in the workspace"
|
|
180
|
-
],
|
|
181
|
-
[
|
|
182
|
-
"f",
|
|
183
|
-
"force",
|
|
184
|
-
"force workspace initialization without clearing local objects"
|
|
108
|
+
"remote",
|
|
109
|
+
"show data for a remote component"
|
|
185
110
|
],
|
|
186
111
|
[
|
|
187
112
|
"b",
|
|
188
|
-
"
|
|
189
|
-
"
|
|
113
|
+
"browser",
|
|
114
|
+
"open the component page in the browser"
|
|
190
115
|
],
|
|
191
116
|
[
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
]
|
|
196
|
-
],
|
|
197
|
-
"description": "create or reinitialize an empty workspace",
|
|
198
|
-
"extendedDescription": "if the current directory is already a workspace, it validates that bit files are correct and rewrite them if needed.",
|
|
199
|
-
"group": "start",
|
|
200
|
-
"private": false,
|
|
201
|
-
"skipWorkspace": true
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"name": "globals",
|
|
205
|
-
"alias": "",
|
|
206
|
-
"options": [
|
|
207
|
-
[
|
|
208
|
-
"j",
|
|
209
|
-
"json",
|
|
210
|
-
"json format"
|
|
117
|
+
"c",
|
|
118
|
+
"compare",
|
|
119
|
+
"legacy-only. compare current file system component to its latest tagged version [default=latest]"
|
|
211
120
|
]
|
|
212
121
|
],
|
|
213
|
-
"description": "
|
|
122
|
+
"description": "display the component's essential information",
|
|
214
123
|
"extendedDescription": "",
|
|
215
|
-
"group": "
|
|
216
|
-
"private": false
|
|
124
|
+
"group": "info",
|
|
125
|
+
"private": false,
|
|
126
|
+
"arguments": [
|
|
127
|
+
{
|
|
128
|
+
"name": "component-name",
|
|
129
|
+
"description": "component name or component id"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
217
132
|
},
|
|
218
133
|
{
|
|
219
|
-
"name": "
|
|
220
|
-
"alias": "",
|
|
134
|
+
"name": "envs",
|
|
135
|
+
"alias": "env",
|
|
221
136
|
"options": [],
|
|
222
|
-
"description": "
|
|
137
|
+
"description": "list all components maintained by the workspace and their corresponding envs",
|
|
223
138
|
"extendedDescription": "",
|
|
224
|
-
"group": "
|
|
139
|
+
"group": "development",
|
|
225
140
|
"private": false,
|
|
226
141
|
"commands": [
|
|
227
142
|
{
|
|
228
|
-
"name": "
|
|
143
|
+
"name": "list",
|
|
229
144
|
"alias": "",
|
|
230
145
|
"options": [],
|
|
231
|
-
"description": "
|
|
146
|
+
"description": "list all envs currently used in the workspace",
|
|
232
147
|
"extendedDescription": "",
|
|
233
|
-
"group": "
|
|
148
|
+
"group": "development",
|
|
234
149
|
"private": false
|
|
235
150
|
},
|
|
236
151
|
{
|
|
237
|
-
"name": "
|
|
238
|
-
"alias": "",
|
|
239
|
-
"options": [],
|
|
240
|
-
"description": "print the log file to the screen as it is being written",
|
|
241
|
-
"extendedDescription": "similar to linux \"tail -f\" command",
|
|
242
|
-
"group": "workspace",
|
|
243
|
-
"private": false
|
|
244
|
-
}
|
|
245
|
-
]
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"name": "config",
|
|
249
|
-
"alias": "",
|
|
250
|
-
"options": [],
|
|
251
|
-
"description": "global config management",
|
|
252
|
-
"extendedDescription": "https://bit.dev/reference/config/bit-config",
|
|
253
|
-
"group": "general",
|
|
254
|
-
"private": false,
|
|
255
|
-
"commands": [
|
|
256
|
-
{
|
|
257
|
-
"name": "set <key> <val>",
|
|
152
|
+
"name": "get <component-name>",
|
|
258
153
|
"alias": "",
|
|
259
|
-
"options": [
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
154
|
+
"options": [
|
|
155
|
+
[
|
|
156
|
+
"",
|
|
157
|
+
"services <string>",
|
|
158
|
+
"show information about the specific services only. for multiple services, separate by a comma and wrap with quotes"
|
|
159
|
+
]
|
|
160
|
+
],
|
|
161
|
+
"description": "show config information from a component's env",
|
|
162
|
+
"extendedDescription": "",
|
|
163
|
+
"group": "development",
|
|
263
164
|
"private": false,
|
|
264
|
-
"
|
|
165
|
+
"arguments": [
|
|
166
|
+
{
|
|
167
|
+
"name": "component-name",
|
|
168
|
+
"description": "the 'component name' or 'component id' of the component whose env you'd like to inspect"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
265
171
|
},
|
|
266
172
|
{
|
|
267
|
-
"name": "
|
|
268
|
-
"alias": "",
|
|
173
|
+
"name": "set <component-pattern> <env>",
|
|
269
174
|
"options": [],
|
|
270
|
-
"description": "
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
|
|
175
|
+
"description": "Assigns one or more components a development environment (env)",
|
|
176
|
+
"group": "development",
|
|
177
|
+
"arguments": [
|
|
178
|
+
{
|
|
179
|
+
"name": "component-pattern",
|
|
180
|
+
"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."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "env",
|
|
184
|
+
"description": "the env's component id (include version if not latest, e.g `teambit.community/envs/community-react@1.95.13`)"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"examples": [
|
|
188
|
+
{
|
|
189
|
+
"cmd": "set ui/button teambit.react/react-env",
|
|
190
|
+
"description": "configures 'ui/button' to use the latest version of the 'teambit.react/react-env' env"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"cmd": "set ui/button teambit.community/envs/community-mdx@1.95.16",
|
|
194
|
+
"description": "configures 'ui/button' to use the 'teambit.community/envs/community-mdx@1.95.16' env"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"cmd": "set \"*/ui/**\" teambit.react/react-env",
|
|
198
|
+
"description": "configures all components that have the 'ui' namespace to use the latest version of the teambit.react/react-env env"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
274
201
|
},
|
|
275
202
|
{
|
|
276
|
-
"name": "
|
|
277
|
-
"alias": "",
|
|
203
|
+
"name": "unset <component-pattern>",
|
|
278
204
|
"options": [],
|
|
279
|
-
"description": "
|
|
280
|
-
"extendedDescription": "",
|
|
281
|
-
"group": "
|
|
282
|
-
"
|
|
205
|
+
"description": "un-sets an env from components that were previously set by \"bit env set\" or by a component template",
|
|
206
|
+
"extendedDescription": "keep in mind that this doesn't remove envs that are set via variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"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",
|
|
207
|
+
"group": "development",
|
|
208
|
+
"arguments": [
|
|
209
|
+
{
|
|
210
|
+
"name": "component-pattern",
|
|
211
|
+
"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."
|
|
212
|
+
}
|
|
213
|
+
]
|
|
283
214
|
},
|
|
284
215
|
{
|
|
285
|
-
"name": "
|
|
286
|
-
"alias": "",
|
|
216
|
+
"name": "replace <current-env> <new-env>",
|
|
287
217
|
"options": [],
|
|
288
|
-
"description": "
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
218
|
+
"description": "replace an existing env with another env for all components using the old env",
|
|
219
|
+
"group": "development",
|
|
220
|
+
"arguments": [
|
|
221
|
+
{
|
|
222
|
+
"name": "current-env",
|
|
223
|
+
"description": "the component id of the env to be replaced"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "new-env",
|
|
227
|
+
"description": "the component id of the new env"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"examples": [
|
|
231
|
+
{
|
|
232
|
+
"cmd": "replace teambit.harmony/aspect teambit.harmony/node",
|
|
233
|
+
"description": "components configured to use the 'aspect' env will be configured to use the 'node' env, instead"
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "update [env-id] [pattern]",
|
|
239
|
+
"options": [],
|
|
240
|
+
"description": "update a version of an env for all components using that env",
|
|
241
|
+
"group": "development",
|
|
242
|
+
"arguments": [
|
|
243
|
+
{
|
|
244
|
+
"name": "env-id",
|
|
245
|
+
"description": "the environment id (defaults to all envs). optionally, add a version (id@version), if no version is supplied will use the latest version on the remote."
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "pattern",
|
|
249
|
+
"description": "the components to update (defaults to all components). 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."
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"examples": [
|
|
253
|
+
{
|
|
254
|
+
"cmd": "envs update",
|
|
255
|
+
"description": "update all envs for all components in the workspace, to their latest version"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"cmd": "envs update scope.org/env '**/ui/**'",
|
|
259
|
+
"description": "update components in the \"ui\" namespace that use scope.org/env to use its latest version"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"cmd": "envs update scope.org/env@2.0.0",
|
|
263
|
+
"description": "update all components that use scope.org/env to version 2.0.0 (of this env)."
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "globals",
|
|
271
|
+
"alias": "",
|
|
272
|
+
"options": [
|
|
273
|
+
[
|
|
274
|
+
"j",
|
|
275
|
+
"json",
|
|
276
|
+
"json format"
|
|
277
|
+
]
|
|
278
|
+
],
|
|
279
|
+
"description": "list all globals",
|
|
280
|
+
"extendedDescription": "",
|
|
281
|
+
"group": "workspace",
|
|
282
|
+
"private": false
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "system <sub-command>",
|
|
286
|
+
"alias": "",
|
|
287
|
+
"options": [],
|
|
288
|
+
"description": "system operations",
|
|
289
|
+
"extendedDescription": "",
|
|
290
|
+
"group": "workspace",
|
|
291
|
+
"private": false,
|
|
292
|
+
"commands": [
|
|
293
|
+
{
|
|
294
|
+
"name": "log",
|
|
295
|
+
"alias": "",
|
|
296
|
+
"options": [],
|
|
297
|
+
"description": "print debug.log to the screen",
|
|
298
|
+
"extendedDescription": "",
|
|
299
|
+
"group": "workspace",
|
|
300
|
+
"private": false
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "tail-log",
|
|
304
|
+
"alias": "",
|
|
305
|
+
"options": [],
|
|
306
|
+
"description": "print the log file to the screen as it is being written",
|
|
307
|
+
"extendedDescription": "similar to linux \"tail -f\" command",
|
|
308
|
+
"group": "workspace",
|
|
309
|
+
"private": false
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "config",
|
|
315
|
+
"alias": "",
|
|
316
|
+
"options": [],
|
|
317
|
+
"description": "global config management",
|
|
318
|
+
"extendedDescription": "https://bit.dev/reference/config/bit-config",
|
|
319
|
+
"group": "general",
|
|
320
|
+
"private": false,
|
|
321
|
+
"commands": [
|
|
322
|
+
{
|
|
323
|
+
"name": "set <key> <val>",
|
|
324
|
+
"alias": "",
|
|
325
|
+
"options": [],
|
|
326
|
+
"description": "set a global configuration",
|
|
327
|
+
"extendedDescription": "to set temporary configuration by env variable, prefix with \"BIT_CONFIG\", replace \".\" with \"_\" and change to upper case.\nfor example, \"user.token\" becomes \"BIT_CONFIG_USER_TOKEN\"",
|
|
328
|
+
"group": "ungrouped",
|
|
329
|
+
"private": false,
|
|
330
|
+
"skipWorkspace": true
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "del <key>",
|
|
334
|
+
"alias": "",
|
|
335
|
+
"options": [],
|
|
336
|
+
"description": "delete given key from global configuration",
|
|
337
|
+
"extendedDescription": "",
|
|
338
|
+
"group": "ungrouped",
|
|
339
|
+
"private": false
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "get <key>",
|
|
343
|
+
"alias": "",
|
|
344
|
+
"options": [],
|
|
345
|
+
"description": "get a value from global configuration",
|
|
346
|
+
"extendedDescription": "",
|
|
347
|
+
"group": "ungrouped",
|
|
348
|
+
"private": false
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "list",
|
|
352
|
+
"alias": "",
|
|
353
|
+
"options": [],
|
|
354
|
+
"description": "list all configuration(s)",
|
|
355
|
+
"extendedDescription": "",
|
|
356
|
+
"group": "ungrouped",
|
|
357
|
+
"private": false
|
|
358
|
+
}
|
|
359
|
+
]
|
|
294
360
|
},
|
|
295
361
|
{
|
|
296
362
|
"name": "remote",
|
|
@@ -340,312 +406,120 @@
|
|
|
340
406
|
]
|
|
341
407
|
},
|
|
342
408
|
{
|
|
343
|
-
"name": "
|
|
344
|
-
"alias": "",
|
|
409
|
+
"name": "start [component-pattern]",
|
|
410
|
+
"alias": "c",
|
|
345
411
|
"options": [
|
|
346
412
|
[
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
"
|
|
413
|
+
"d",
|
|
414
|
+
"dev",
|
|
415
|
+
"start UI server in dev mode."
|
|
350
416
|
],
|
|
351
417
|
[
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
418
|
+
"p",
|
|
419
|
+
"port [port-number]",
|
|
420
|
+
"port of the UI server."
|
|
355
421
|
],
|
|
356
422
|
[
|
|
357
423
|
"r",
|
|
358
|
-
"
|
|
359
|
-
"
|
|
424
|
+
"rebuild",
|
|
425
|
+
"rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case)"
|
|
360
426
|
],
|
|
361
427
|
[
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"
|
|
428
|
+
"",
|
|
429
|
+
"skip-ui-build",
|
|
430
|
+
"skip building UI"
|
|
365
431
|
],
|
|
366
432
|
[
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"
|
|
433
|
+
"v",
|
|
434
|
+
"verbose",
|
|
435
|
+
"show verbose output for inspection and prints stack trace"
|
|
436
|
+
],
|
|
437
|
+
[
|
|
438
|
+
"n",
|
|
439
|
+
"no-browser",
|
|
440
|
+
"do not automatically open browser when ready"
|
|
441
|
+
],
|
|
442
|
+
[
|
|
443
|
+
"",
|
|
444
|
+
"skip-compilation",
|
|
445
|
+
"skip the auto-compilation before starting the web-server"
|
|
446
|
+
],
|
|
447
|
+
[
|
|
448
|
+
"u",
|
|
449
|
+
"ui-root-name [type]",
|
|
450
|
+
"name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\""
|
|
370
451
|
]
|
|
371
452
|
],
|
|
372
|
-
"description": "
|
|
453
|
+
"description": "run the ui/development server",
|
|
373
454
|
"extendedDescription": "",
|
|
374
|
-
"group": "
|
|
455
|
+
"group": "development",
|
|
375
456
|
"private": false,
|
|
376
457
|
"arguments": [
|
|
377
458
|
{
|
|
378
|
-
"name": "component-
|
|
379
|
-
"description": "component name or component
|
|
459
|
+
"name": "component-pattern",
|
|
460
|
+
"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."
|
|
380
461
|
}
|
|
381
462
|
]
|
|
382
463
|
},
|
|
383
464
|
{
|
|
384
|
-
"name": "
|
|
465
|
+
"name": "ui-build [type]",
|
|
466
|
+
"alias": "c",
|
|
467
|
+
"options": [],
|
|
468
|
+
"description": "build production assets for deployment.",
|
|
469
|
+
"extendedDescription": "",
|
|
470
|
+
"group": "development",
|
|
471
|
+
"private": true
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "graph [id]",
|
|
385
475
|
"alias": "",
|
|
386
476
|
"options": [
|
|
477
|
+
[
|
|
478
|
+
"i",
|
|
479
|
+
"image <image>",
|
|
480
|
+
"image path and format. use one of the following extensions: [gif, png, svg, pdf]"
|
|
481
|
+
],
|
|
482
|
+
[
|
|
483
|
+
"r",
|
|
484
|
+
"remote [remoteName]",
|
|
485
|
+
"remote name (name is optional, leave empty when id is specified)"
|
|
486
|
+
],
|
|
487
|
+
[
|
|
488
|
+
"",
|
|
489
|
+
"all-versions",
|
|
490
|
+
"enter all components versions into the graph, not only latest"
|
|
491
|
+
],
|
|
492
|
+
[
|
|
493
|
+
"",
|
|
494
|
+
"layout <name>",
|
|
495
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
496
|
+
],
|
|
387
497
|
[
|
|
388
498
|
"j",
|
|
389
499
|
"json",
|
|
390
|
-
"
|
|
500
|
+
"json format"
|
|
391
501
|
]
|
|
392
502
|
],
|
|
393
|
-
"description": "
|
|
503
|
+
"description": "generate an image file with the workspace components' dependencies graph",
|
|
394
504
|
"extendedDescription": "",
|
|
395
|
-
"group": "
|
|
396
|
-
"private":
|
|
505
|
+
"group": "discover",
|
|
506
|
+
"private": false,
|
|
507
|
+
"remoteOp": true
|
|
397
508
|
},
|
|
398
509
|
{
|
|
399
|
-
"name": "
|
|
400
|
-
"alias": "
|
|
510
|
+
"name": "scope <sub-command>",
|
|
511
|
+
"alias": "",
|
|
401
512
|
"options": [],
|
|
402
|
-
"description": "
|
|
513
|
+
"description": "manage the scope-name for components",
|
|
403
514
|
"extendedDescription": "",
|
|
404
515
|
"group": "development",
|
|
405
516
|
"private": false,
|
|
406
517
|
"commands": [
|
|
407
518
|
{
|
|
408
|
-
"name": "
|
|
409
|
-
"alias": "",
|
|
519
|
+
"name": "set <scope-name> [component-pattern]",
|
|
410
520
|
"options": [],
|
|
411
|
-
"description": "
|
|
412
|
-
"extendedDescription": "",
|
|
413
|
-
"group": "development",
|
|
414
|
-
"private": false
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"name": "get <component-name>",
|
|
418
|
-
"alias": "",
|
|
419
|
-
"options": [
|
|
420
|
-
[
|
|
421
|
-
"",
|
|
422
|
-
"services <string>",
|
|
423
|
-
"show information about the specific services only. for multiple services, separate by a comma and wrap with quotes"
|
|
424
|
-
]
|
|
425
|
-
],
|
|
426
|
-
"description": "show config information from a component's env",
|
|
427
|
-
"extendedDescription": "",
|
|
428
|
-
"group": "development",
|
|
429
|
-
"private": false,
|
|
430
|
-
"arguments": [
|
|
431
|
-
{
|
|
432
|
-
"name": "component-name",
|
|
433
|
-
"description": "the 'component name' or 'component id' of the component whose env you'd like to inspect"
|
|
434
|
-
}
|
|
435
|
-
]
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"name": "set <component-pattern> <env>",
|
|
439
|
-
"options": [],
|
|
440
|
-
"description": "Assigns one or more components a development environment (env)",
|
|
441
|
-
"group": "development",
|
|
442
|
-
"arguments": [
|
|
443
|
-
{
|
|
444
|
-
"name": "component-pattern",
|
|
445
|
-
"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."
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"name": "env",
|
|
449
|
-
"description": "the env's component id (include version if not latest, e.g `teambit.community/envs/community-react@1.95.13`)"
|
|
450
|
-
}
|
|
451
|
-
],
|
|
452
|
-
"examples": [
|
|
453
|
-
{
|
|
454
|
-
"cmd": "set ui/button teambit.react/react-env",
|
|
455
|
-
"description": "configures 'ui/button' to use the latest version of the 'teambit.react/react-env' env"
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"cmd": "set ui/button teambit.community/envs/community-mdx@1.95.16",
|
|
459
|
-
"description": "configures 'ui/button' to use the 'teambit.community/envs/community-mdx@1.95.16' env"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"cmd": "set \"*/ui/**\" teambit.react/react-env",
|
|
463
|
-
"description": "configures all components that have the 'ui' namespace to use the latest version of the teambit.react/react-env env"
|
|
464
|
-
}
|
|
465
|
-
]
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "unset <component-pattern>",
|
|
469
|
-
"options": [],
|
|
470
|
-
"description": "un-sets an env from components that were previously set by \"bit env set\" or by a component template",
|
|
471
|
-
"extendedDescription": "keep in mind that this doesn't remove envs that are set via variants.\nin only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".\nthe purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"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",
|
|
472
|
-
"group": "development",
|
|
473
|
-
"arguments": [
|
|
474
|
-
{
|
|
475
|
-
"name": "component-pattern",
|
|
476
|
-
"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."
|
|
477
|
-
}
|
|
478
|
-
]
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"name": "replace <current-env> <new-env>",
|
|
482
|
-
"options": [],
|
|
483
|
-
"description": "replace an existing env with another env for all components using the old env",
|
|
484
|
-
"group": "development",
|
|
485
|
-
"arguments": [
|
|
486
|
-
{
|
|
487
|
-
"name": "current-env",
|
|
488
|
-
"description": "the component id of the env to be replaced"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"name": "new-env",
|
|
492
|
-
"description": "the component id of the new env"
|
|
493
|
-
}
|
|
494
|
-
],
|
|
495
|
-
"examples": [
|
|
496
|
-
{
|
|
497
|
-
"cmd": "replace teambit.harmony/aspect teambit.harmony/node",
|
|
498
|
-
"description": "components configured to use the 'aspect' env will be configured to use the 'node' env, instead"
|
|
499
|
-
}
|
|
500
|
-
]
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "update [env-id] [pattern]",
|
|
504
|
-
"options": [],
|
|
505
|
-
"description": "update a version of an env for all components using that env",
|
|
506
|
-
"group": "development",
|
|
507
|
-
"arguments": [
|
|
508
|
-
{
|
|
509
|
-
"name": "env-id",
|
|
510
|
-
"description": "the environment id (defaults to all envs). optionally, add a version (id@version), if no version is supplied will use the latest version on the remote."
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "pattern",
|
|
514
|
-
"description": "the components to update (defaults to all components). 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."
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"examples": [
|
|
518
|
-
{
|
|
519
|
-
"cmd": "envs update",
|
|
520
|
-
"description": "update all envs for all components in the workspace, to their latest version"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"cmd": "envs update scope.org/env '**/ui/**'",
|
|
524
|
-
"description": "update components in the \"ui\" namespace that use scope.org/env to use its latest version"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"cmd": "envs update scope.org/env@2.0.0",
|
|
528
|
-
"description": "update all components that use scope.org/env to version 2.0.0 (of this env)."
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
}
|
|
532
|
-
]
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "graph [id]",
|
|
536
|
-
"alias": "",
|
|
537
|
-
"options": [
|
|
538
|
-
[
|
|
539
|
-
"i",
|
|
540
|
-
"image <image>",
|
|
541
|
-
"image path and format. use one of the following extensions: [gif, png, svg, pdf]"
|
|
542
|
-
],
|
|
543
|
-
[
|
|
544
|
-
"r",
|
|
545
|
-
"remote [remoteName]",
|
|
546
|
-
"remote name (name is optional, leave empty when id is specified)"
|
|
547
|
-
],
|
|
548
|
-
[
|
|
549
|
-
"",
|
|
550
|
-
"all-versions",
|
|
551
|
-
"enter all components versions into the graph, not only latest"
|
|
552
|
-
],
|
|
553
|
-
[
|
|
554
|
-
"",
|
|
555
|
-
"layout <name>",
|
|
556
|
-
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
557
|
-
],
|
|
558
|
-
[
|
|
559
|
-
"j",
|
|
560
|
-
"json",
|
|
561
|
-
"json format"
|
|
562
|
-
]
|
|
563
|
-
],
|
|
564
|
-
"description": "generate an image file with the workspace components' dependencies graph",
|
|
565
|
-
"extendedDescription": "",
|
|
566
|
-
"group": "discover",
|
|
567
|
-
"private": false,
|
|
568
|
-
"remoteOp": true
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "start [component-pattern]",
|
|
572
|
-
"alias": "c",
|
|
573
|
-
"options": [
|
|
574
|
-
[
|
|
575
|
-
"d",
|
|
576
|
-
"dev",
|
|
577
|
-
"start UI server in dev mode."
|
|
578
|
-
],
|
|
579
|
-
[
|
|
580
|
-
"p",
|
|
581
|
-
"port [port-number]",
|
|
582
|
-
"port of the UI server."
|
|
583
|
-
],
|
|
584
|
-
[
|
|
585
|
-
"r",
|
|
586
|
-
"rebuild",
|
|
587
|
-
"rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case)"
|
|
588
|
-
],
|
|
589
|
-
[
|
|
590
|
-
"",
|
|
591
|
-
"skip-ui-build",
|
|
592
|
-
"skip building UI"
|
|
593
|
-
],
|
|
594
|
-
[
|
|
595
|
-
"v",
|
|
596
|
-
"verbose",
|
|
597
|
-
"show verbose output for inspection and prints stack trace"
|
|
598
|
-
],
|
|
599
|
-
[
|
|
600
|
-
"n",
|
|
601
|
-
"no-browser",
|
|
602
|
-
"do not automatically open browser when ready"
|
|
603
|
-
],
|
|
604
|
-
[
|
|
605
|
-
"",
|
|
606
|
-
"skip-compilation",
|
|
607
|
-
"skip the auto-compilation before starting the web-server"
|
|
608
|
-
],
|
|
609
|
-
[
|
|
610
|
-
"u",
|
|
611
|
-
"ui-root-name [type]",
|
|
612
|
-
"name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\""
|
|
613
|
-
]
|
|
614
|
-
],
|
|
615
|
-
"description": "run the ui/development server",
|
|
616
|
-
"extendedDescription": "",
|
|
617
|
-
"group": "development",
|
|
618
|
-
"private": false,
|
|
619
|
-
"arguments": [
|
|
620
|
-
{
|
|
621
|
-
"name": "component-pattern",
|
|
622
|
-
"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."
|
|
623
|
-
}
|
|
624
|
-
]
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"name": "ui-build [type]",
|
|
628
|
-
"alias": "c",
|
|
629
|
-
"options": [],
|
|
630
|
-
"description": "build production assets for deployment.",
|
|
631
|
-
"extendedDescription": "",
|
|
632
|
-
"group": "development",
|
|
633
|
-
"private": true
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"name": "scope <sub-command>",
|
|
637
|
-
"alias": "",
|
|
638
|
-
"options": [],
|
|
639
|
-
"description": "manage the scope-name for components",
|
|
640
|
-
"extendedDescription": "",
|
|
641
|
-
"group": "development",
|
|
642
|
-
"private": false,
|
|
643
|
-
"commands": [
|
|
644
|
-
{
|
|
645
|
-
"name": "set <scope-name> [component-pattern]",
|
|
646
|
-
"options": [],
|
|
647
|
-
"description": "Sets the scope for specified component/s. If no component is specified, sets the default scope of the workspace",
|
|
648
|
-
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.\na component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"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",
|
|
521
|
+
"description": "Sets the scope for specified component/s. If no component is specified, sets the default scope of the workspace",
|
|
522
|
+
"extendedDescription": "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.\na component is set with a scope (as oppose to default scope) only once it is versioned.'\n\nyou can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name \"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",
|
|
649
523
|
"group": "development",
|
|
650
524
|
"arguments": [
|
|
651
525
|
{
|
|
@@ -876,118 +750,6 @@
|
|
|
876
750
|
"private": true,
|
|
877
751
|
"remoteOp": true
|
|
878
752
|
},
|
|
879
|
-
{
|
|
880
|
-
"name": "version-history <sub-command>",
|
|
881
|
-
"alias": "vh",
|
|
882
|
-
"options": [],
|
|
883
|
-
"description": "manage the version-history of components",
|
|
884
|
-
"extendedDescription": "",
|
|
885
|
-
"group": "info",
|
|
886
|
-
"private": false,
|
|
887
|
-
"commands": [
|
|
888
|
-
{
|
|
889
|
-
"name": "graph <component-id>",
|
|
890
|
-
"alias": "",
|
|
891
|
-
"options": [
|
|
892
|
-
[
|
|
893
|
-
"s",
|
|
894
|
-
"short-hash",
|
|
895
|
-
"show only 9 chars of the hash"
|
|
896
|
-
],
|
|
897
|
-
[
|
|
898
|
-
"m",
|
|
899
|
-
"mark <string>",
|
|
900
|
-
"paint the given node-ids in the graph in red color, for multiple, separate by commas"
|
|
901
|
-
],
|
|
902
|
-
[
|
|
903
|
-
"",
|
|
904
|
-
"png",
|
|
905
|
-
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
906
|
-
],
|
|
907
|
-
[
|
|
908
|
-
"l",
|
|
909
|
-
"layout <name>",
|
|
910
|
-
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
911
|
-
]
|
|
912
|
-
],
|
|
913
|
-
"description": "generate a graph of the version history of a component and save as an SVG file",
|
|
914
|
-
"extendedDescription": "",
|
|
915
|
-
"group": "info",
|
|
916
|
-
"private": false
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"name": "show <component-id>",
|
|
920
|
-
"alias": "vh",
|
|
921
|
-
"options": [
|
|
922
|
-
[
|
|
923
|
-
"s",
|
|
924
|
-
"short-hash",
|
|
925
|
-
"show only 9 chars of the hash"
|
|
926
|
-
],
|
|
927
|
-
[
|
|
928
|
-
"j",
|
|
929
|
-
"json",
|
|
930
|
-
"json format"
|
|
931
|
-
]
|
|
932
|
-
],
|
|
933
|
-
"description": "show the version-history of a component",
|
|
934
|
-
"extendedDescription": "",
|
|
935
|
-
"group": "info",
|
|
936
|
-
"private": false
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
"name": "build <component-pattern>",
|
|
940
|
-
"alias": "",
|
|
941
|
-
"options": [
|
|
942
|
-
[
|
|
943
|
-
"",
|
|
944
|
-
"from-snap <snap>",
|
|
945
|
-
"build the version history from a specific snap. the pattern must be a single component-id"
|
|
946
|
-
],
|
|
947
|
-
[
|
|
948
|
-
"",
|
|
949
|
-
"from-all-lanes",
|
|
950
|
-
"build the version history from the heads of all lanes that include this component"
|
|
951
|
-
],
|
|
952
|
-
[
|
|
953
|
-
"",
|
|
954
|
-
"delete-existing",
|
|
955
|
-
"delete the existing version history before building it"
|
|
956
|
-
],
|
|
957
|
-
[
|
|
958
|
-
"",
|
|
959
|
-
"remote <scope>",
|
|
960
|
-
"make the change on the remote scope"
|
|
961
|
-
]
|
|
962
|
-
],
|
|
963
|
-
"description": "rebuild the version history of a component. helpful when it got corrupted for some reason",
|
|
964
|
-
"extendedDescription": "",
|
|
965
|
-
"group": "info",
|
|
966
|
-
"private": false,
|
|
967
|
-
"arguments": [
|
|
968
|
-
{
|
|
969
|
-
"name": "component-pattern",
|
|
970
|
-
"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."
|
|
971
|
-
}
|
|
972
|
-
]
|
|
973
|
-
}
|
|
974
|
-
]
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
"name": "cat-version-history <id>",
|
|
978
|
-
"alias": "cvh",
|
|
979
|
-
"options": [
|
|
980
|
-
[
|
|
981
|
-
"j",
|
|
982
|
-
"json",
|
|
983
|
-
"json format"
|
|
984
|
-
]
|
|
985
|
-
],
|
|
986
|
-
"description": "cat version-history object by component-id",
|
|
987
|
-
"extendedDescription": "",
|
|
988
|
-
"group": "ungrouped",
|
|
989
|
-
"private": true
|
|
990
|
-
},
|
|
991
753
|
{
|
|
992
754
|
"name": "eject-conf <pattern>",
|
|
993
755
|
"alias": "",
|
|
@@ -1234,83 +996,6 @@
|
|
|
1234
996
|
}
|
|
1235
997
|
]
|
|
1236
998
|
},
|
|
1237
|
-
{
|
|
1238
|
-
"name": "git <sub-command>",
|
|
1239
|
-
"alias": "",
|
|
1240
|
-
"options": [],
|
|
1241
|
-
"description": "perform git operations",
|
|
1242
|
-
"extendedDescription": "",
|
|
1243
|
-
"group": "git",
|
|
1244
|
-
"private": false,
|
|
1245
|
-
"commands": [
|
|
1246
|
-
{
|
|
1247
|
-
"name": "set-merge-driver",
|
|
1248
|
-
"alias": "smd",
|
|
1249
|
-
"options": [
|
|
1250
|
-
[
|
|
1251
|
-
"g",
|
|
1252
|
-
"global",
|
|
1253
|
-
"set the git merge driver globally"
|
|
1254
|
-
]
|
|
1255
|
-
],
|
|
1256
|
-
"description": "setup bit's git merge driver for bitmap files",
|
|
1257
|
-
"extendedDescription": "",
|
|
1258
|
-
"group": "git",
|
|
1259
|
-
"private": false
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
"name": "merge-bitmaps <ancestor> <current> <other>",
|
|
1263
|
-
"alias": "",
|
|
1264
|
-
"options": [],
|
|
1265
|
-
"description": "a special command to merge conflicting bitmap files during git merge",
|
|
1266
|
-
"extendedDescription": "",
|
|
1267
|
-
"group": "git",
|
|
1268
|
-
"private": true
|
|
1269
|
-
}
|
|
1270
|
-
]
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"name": "list [remote-scope]",
|
|
1274
|
-
"alias": "ls",
|
|
1275
|
-
"options": [
|
|
1276
|
-
[
|
|
1277
|
-
"i",
|
|
1278
|
-
"ids",
|
|
1279
|
-
"show only component ids, unformatted"
|
|
1280
|
-
],
|
|
1281
|
-
[
|
|
1282
|
-
"s",
|
|
1283
|
-
"scope",
|
|
1284
|
-
"show only components stored in the local scope, including indirect dependencies"
|
|
1285
|
-
],
|
|
1286
|
-
[
|
|
1287
|
-
"o",
|
|
1288
|
-
"outdated",
|
|
1289
|
-
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
1290
|
-
],
|
|
1291
|
-
[
|
|
1292
|
-
"d",
|
|
1293
|
-
"include-deleted",
|
|
1294
|
-
"EXPERIMENTAL. show also deleted components"
|
|
1295
|
-
],
|
|
1296
|
-
[
|
|
1297
|
-
"j",
|
|
1298
|
-
"json",
|
|
1299
|
-
"show the output in JSON format"
|
|
1300
|
-
],
|
|
1301
|
-
[
|
|
1302
|
-
"n",
|
|
1303
|
-
"namespace <string>",
|
|
1304
|
-
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
1305
|
-
]
|
|
1306
|
-
],
|
|
1307
|
-
"description": "list components on a workspace or a remote scope (with flag).",
|
|
1308
|
-
"extendedDescription": "",
|
|
1309
|
-
"group": "discover",
|
|
1310
|
-
"private": false,
|
|
1311
|
-
"remoteOp": true,
|
|
1312
|
-
"skipWorkspace": true
|
|
1313
|
-
},
|
|
1314
999
|
{
|
|
1315
1000
|
"name": "ws-config <sub-command>",
|
|
1316
1001
|
"alias": "workspace-config",
|
|
@@ -1456,6 +1141,41 @@
|
|
|
1456
1141
|
"remoteOp": true,
|
|
1457
1142
|
"skipWorkspace": true
|
|
1458
1143
|
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "git <sub-command>",
|
|
1146
|
+
"alias": "",
|
|
1147
|
+
"options": [],
|
|
1148
|
+
"description": "perform git operations",
|
|
1149
|
+
"extendedDescription": "",
|
|
1150
|
+
"group": "git",
|
|
1151
|
+
"private": false,
|
|
1152
|
+
"commands": [
|
|
1153
|
+
{
|
|
1154
|
+
"name": "set-merge-driver",
|
|
1155
|
+
"alias": "smd",
|
|
1156
|
+
"options": [
|
|
1157
|
+
[
|
|
1158
|
+
"g",
|
|
1159
|
+
"global",
|
|
1160
|
+
"set the git merge driver globally"
|
|
1161
|
+
]
|
|
1162
|
+
],
|
|
1163
|
+
"description": "setup bit's git merge driver for bitmap files",
|
|
1164
|
+
"extendedDescription": "",
|
|
1165
|
+
"group": "git",
|
|
1166
|
+
"private": false
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "merge-bitmaps <ancestor> <current> <other>",
|
|
1170
|
+
"alias": "",
|
|
1171
|
+
"options": [],
|
|
1172
|
+
"description": "a special command to merge conflicting bitmap files during git merge",
|
|
1173
|
+
"extendedDescription": "",
|
|
1174
|
+
"group": "git",
|
|
1175
|
+
"private": true
|
|
1176
|
+
}
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1459
1179
|
{
|
|
1460
1180
|
"name": "add [path...]",
|
|
1461
1181
|
"alias": "a",
|
|
@@ -2153,37 +1873,115 @@
|
|
|
2153
1873
|
]
|
|
2154
1874
|
},
|
|
2155
1875
|
{
|
|
2156
|
-
"name": "
|
|
2157
|
-
"alias": "
|
|
2158
|
-
"options": [
|
|
2159
|
-
|
|
2160
|
-
|
|
1876
|
+
"name": "eject <component-pattern>",
|
|
1877
|
+
"alias": "E",
|
|
1878
|
+
"options": [
|
|
1879
|
+
[
|
|
1880
|
+
"f",
|
|
1881
|
+
"force",
|
|
1882
|
+
"ignore local changes/versions. eject component/s even when they are staged or modified. Note: unexported tags/snaps will be lost"
|
|
1883
|
+
],
|
|
1884
|
+
[
|
|
1885
|
+
"x",
|
|
1886
|
+
"skip-dependency-installation",
|
|
1887
|
+
"do not auto-install dependencies"
|
|
1888
|
+
],
|
|
1889
|
+
[
|
|
1890
|
+
"j",
|
|
1891
|
+
"json",
|
|
1892
|
+
"print the results in JSON format"
|
|
1893
|
+
],
|
|
1894
|
+
[
|
|
1895
|
+
"",
|
|
1896
|
+
"keep-files",
|
|
1897
|
+
"keep the component files in the workspace intact"
|
|
1898
|
+
]
|
|
1899
|
+
],
|
|
1900
|
+
"description": "remove component from the workspace and install it instead as a regular npm package.",
|
|
1901
|
+
"extendedDescription": "By default the component files will be removed from the workspace",
|
|
2161
1902
|
"group": "development",
|
|
2162
1903
|
"private": false,
|
|
2163
1904
|
"arguments": [
|
|
2164
1905
|
{
|
|
2165
|
-
"name": "
|
|
2166
|
-
"description": "
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"name": "new-component-dir",
|
|
2170
|
-
"description": "the new directory (relative to the workspace root) to create and move the component's files to"
|
|
1906
|
+
"name": "component-pattern",
|
|
1907
|
+
"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."
|
|
2171
1908
|
}
|
|
2172
1909
|
]
|
|
2173
1910
|
},
|
|
2174
1911
|
{
|
|
2175
|
-
"name": "
|
|
2176
|
-
"alias": "",
|
|
1912
|
+
"name": "list [remote-scope]",
|
|
1913
|
+
"alias": "ls",
|
|
2177
1914
|
"options": [
|
|
2178
1915
|
[
|
|
2179
|
-
"
|
|
2180
|
-
"
|
|
2181
|
-
"
|
|
1916
|
+
"i",
|
|
1917
|
+
"ids",
|
|
1918
|
+
"show only component ids, unformatted"
|
|
1919
|
+
],
|
|
1920
|
+
[
|
|
1921
|
+
"s",
|
|
1922
|
+
"scope",
|
|
1923
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
2182
1924
|
],
|
|
2183
1925
|
[
|
|
2184
1926
|
"o",
|
|
2185
|
-
"
|
|
2186
|
-
"
|
|
1927
|
+
"outdated",
|
|
1928
|
+
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
1929
|
+
],
|
|
1930
|
+
[
|
|
1931
|
+
"d",
|
|
1932
|
+
"include-deleted",
|
|
1933
|
+
"EXPERIMENTAL. show also deleted components"
|
|
1934
|
+
],
|
|
1935
|
+
[
|
|
1936
|
+
"j",
|
|
1937
|
+
"json",
|
|
1938
|
+
"show the output in JSON format"
|
|
1939
|
+
],
|
|
1940
|
+
[
|
|
1941
|
+
"n",
|
|
1942
|
+
"namespace <string>",
|
|
1943
|
+
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
1944
|
+
]
|
|
1945
|
+
],
|
|
1946
|
+
"description": "list components on a workspace or a remote scope (with flag).",
|
|
1947
|
+
"extendedDescription": "",
|
|
1948
|
+
"group": "discover",
|
|
1949
|
+
"private": false,
|
|
1950
|
+
"remoteOp": true,
|
|
1951
|
+
"skipWorkspace": true
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"name": "move <current-component-dir> <new-component-dir>",
|
|
1955
|
+
"alias": "mv",
|
|
1956
|
+
"options": [],
|
|
1957
|
+
"description": "move a component to a different filesystem path",
|
|
1958
|
+
"extendedDescription": "(note: this does NOT affect the component's name or scope, just its location in the workspace)",
|
|
1959
|
+
"group": "development",
|
|
1960
|
+
"private": false,
|
|
1961
|
+
"arguments": [
|
|
1962
|
+
{
|
|
1963
|
+
"name": "current-component-dir",
|
|
1964
|
+
"description": "the component's current directory (relative to the workspace root)"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "new-component-dir",
|
|
1968
|
+
"description": "the new directory (relative to the workspace root) to create and move the component's files to"
|
|
1969
|
+
}
|
|
1970
|
+
]
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"name": "import [component-patterns...]",
|
|
1974
|
+
"alias": "",
|
|
1975
|
+
"options": [
|
|
1976
|
+
[
|
|
1977
|
+
"p",
|
|
1978
|
+
"path <path>",
|
|
1979
|
+
"import components into a specific directory (a relative path in the workspace)"
|
|
1980
|
+
],
|
|
1981
|
+
[
|
|
1982
|
+
"o",
|
|
1983
|
+
"objects",
|
|
1984
|
+
"import components objects to the local scope without checkout (without writing them to the file system). This is the default behavior for import with no id argument"
|
|
2187
1985
|
],
|
|
2188
1986
|
[
|
|
2189
1987
|
"O",
|
|
@@ -2440,6 +2238,88 @@
|
|
|
2440
2238
|
"group": "collaborate",
|
|
2441
2239
|
"private": false
|
|
2442
2240
|
},
|
|
2241
|
+
{
|
|
2242
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
2243
|
+
"alias": "",
|
|
2244
|
+
"options": [],
|
|
2245
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
2246
|
+
"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",
|
|
2247
|
+
"group": "collaborate",
|
|
2248
|
+
"private": true,
|
|
2249
|
+
"remoteOp": true
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"name": "export [component-patterns...]",
|
|
2253
|
+
"alias": "e",
|
|
2254
|
+
"options": [
|
|
2255
|
+
[
|
|
2256
|
+
"e",
|
|
2257
|
+
"eject",
|
|
2258
|
+
"after export, remove the components from the workspace and install them as packages"
|
|
2259
|
+
],
|
|
2260
|
+
[
|
|
2261
|
+
"a",
|
|
2262
|
+
"all",
|
|
2263
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2264
|
+
],
|
|
2265
|
+
[
|
|
2266
|
+
"",
|
|
2267
|
+
"all-versions",
|
|
2268
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2269
|
+
],
|
|
2270
|
+
[
|
|
2271
|
+
"",
|
|
2272
|
+
"origin-directly",
|
|
2273
|
+
"avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2274
|
+
],
|
|
2275
|
+
[
|
|
2276
|
+
"",
|
|
2277
|
+
"resume <string>",
|
|
2278
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
2279
|
+
],
|
|
2280
|
+
[
|
|
2281
|
+
"",
|
|
2282
|
+
"head-only",
|
|
2283
|
+
"in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag"
|
|
2284
|
+
],
|
|
2285
|
+
[
|
|
2286
|
+
"",
|
|
2287
|
+
"ignore-missing-artifacts",
|
|
2288
|
+
"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2289
|
+
],
|
|
2290
|
+
[
|
|
2291
|
+
"",
|
|
2292
|
+
"fork-lane-new-scope",
|
|
2293
|
+
"allow exporting a forked lane into a different scope than the original scope"
|
|
2294
|
+
],
|
|
2295
|
+
[
|
|
2296
|
+
"",
|
|
2297
|
+
"open-browser",
|
|
2298
|
+
"open a browser once the export is completed in the cloud job url"
|
|
2299
|
+
],
|
|
2300
|
+
[
|
|
2301
|
+
"",
|
|
2302
|
+
"verbose",
|
|
2303
|
+
"per exported component, show the versions being exported"
|
|
2304
|
+
],
|
|
2305
|
+
[
|
|
2306
|
+
"j",
|
|
2307
|
+
"json",
|
|
2308
|
+
"show output in json format"
|
|
2309
|
+
]
|
|
2310
|
+
],
|
|
2311
|
+
"description": "export components from the workspace to remote scopes",
|
|
2312
|
+
"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)",
|
|
2313
|
+
"group": "collaborate",
|
|
2314
|
+
"private": false,
|
|
2315
|
+
"remoteOp": true,
|
|
2316
|
+
"arguments": [
|
|
2317
|
+
{
|
|
2318
|
+
"name": "component-patterns...",
|
|
2319
|
+
"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."
|
|
2320
|
+
}
|
|
2321
|
+
]
|
|
2322
|
+
},
|
|
2443
2323
|
{
|
|
2444
2324
|
"name": "pack <componentId> [scopePath]",
|
|
2445
2325
|
"alias": "",
|
|
@@ -2594,45 +2474,257 @@
|
|
|
2594
2474
|
]
|
|
2595
2475
|
},
|
|
2596
2476
|
{
|
|
2597
|
-
"name": "
|
|
2598
|
-
"alias": "
|
|
2599
|
-
"options": [
|
|
2600
|
-
|
|
2477
|
+
"name": "checkout <to> [component-pattern]",
|
|
2478
|
+
"alias": "U",
|
|
2479
|
+
"options": [
|
|
2480
|
+
[
|
|
2481
|
+
"i",
|
|
2482
|
+
"interactive-merge",
|
|
2483
|
+
"when a component is modified and the merge process found conflicts, display options to resolve them"
|
|
2484
|
+
],
|
|
2485
|
+
[
|
|
2486
|
+
"r",
|
|
2487
|
+
"auto-merge-resolve <merge-strategy>",
|
|
2488
|
+
"in case of merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
2489
|
+
],
|
|
2490
|
+
[
|
|
2491
|
+
"",
|
|
2492
|
+
"manual",
|
|
2493
|
+
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
2494
|
+
],
|
|
2495
|
+
[
|
|
2496
|
+
"a",
|
|
2497
|
+
"all",
|
|
2498
|
+
"all components"
|
|
2499
|
+
],
|
|
2500
|
+
[
|
|
2501
|
+
"e",
|
|
2502
|
+
"workspace-only",
|
|
2503
|
+
"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"
|
|
2504
|
+
],
|
|
2505
|
+
[
|
|
2506
|
+
"v",
|
|
2507
|
+
"verbose",
|
|
2508
|
+
"showing verbose output for inspection"
|
|
2509
|
+
],
|
|
2510
|
+
[
|
|
2511
|
+
"x",
|
|
2512
|
+
"skip-dependency-installation",
|
|
2513
|
+
"do not auto-install dependencies of the imported components"
|
|
2514
|
+
],
|
|
2515
|
+
[
|
|
2516
|
+
"",
|
|
2517
|
+
"force-ours",
|
|
2518
|
+
"do not merge, preserve local files as is"
|
|
2519
|
+
],
|
|
2520
|
+
[
|
|
2521
|
+
"",
|
|
2522
|
+
"force-theirs",
|
|
2523
|
+
"do not merge, just overwrite with incoming files"
|
|
2524
|
+
]
|
|
2525
|
+
],
|
|
2526
|
+
"description": "switch between component versions or remove local changes",
|
|
2527
|
+
"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\"",
|
|
2528
|
+
"group": "development",
|
|
2529
|
+
"private": false,
|
|
2530
|
+
"arguments": [
|
|
2531
|
+
{
|
|
2532
|
+
"name": "to",
|
|
2533
|
+
"description": "permitted values: [head, latest, reset, {specific-version}, {head~x}]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"name": "component-pattern",
|
|
2537
|
+
"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."
|
|
2538
|
+
}
|
|
2539
|
+
]
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "revert <component-pattern> <to>",
|
|
2543
|
+
"alias": "",
|
|
2544
|
+
"options": [
|
|
2545
|
+
[
|
|
2546
|
+
"v",
|
|
2547
|
+
"verbose",
|
|
2548
|
+
"showing verbose output for inspection"
|
|
2549
|
+
],
|
|
2550
|
+
[
|
|
2551
|
+
"x",
|
|
2552
|
+
"skip-dependency-installation",
|
|
2553
|
+
"do not install packages of the imported components"
|
|
2554
|
+
]
|
|
2555
|
+
],
|
|
2556
|
+
"description": "replace the current component files by the specified version, leave the version intact",
|
|
2601
2557
|
"extendedDescription": "",
|
|
2602
|
-
"group": "
|
|
2558
|
+
"group": "development",
|
|
2603
2559
|
"private": false,
|
|
2604
|
-
"
|
|
2560
|
+
"arguments": [
|
|
2605
2561
|
{
|
|
2606
|
-
"name": "
|
|
2607
|
-
"
|
|
2608
|
-
"options": [
|
|
2609
|
-
[
|
|
2610
|
-
"",
|
|
2611
|
-
"scope",
|
|
2612
|
-
"get the data from the scope instead of the workspace"
|
|
2613
|
-
],
|
|
2614
|
-
[
|
|
2615
|
-
"t",
|
|
2616
|
-
"tree",
|
|
2617
|
-
"render dependencies as a tree, similar to \"npm ls\""
|
|
2618
|
-
]
|
|
2619
|
-
],
|
|
2620
|
-
"description": "show direct and indirect dependencies of the given component",
|
|
2621
|
-
"extendedDescription": "",
|
|
2622
|
-
"group": "info",
|
|
2623
|
-
"private": false,
|
|
2624
|
-
"arguments": [
|
|
2625
|
-
{
|
|
2626
|
-
"name": "component-name",
|
|
2627
|
-
"description": "component name or component id"
|
|
2628
|
-
}
|
|
2629
|
-
]
|
|
2562
|
+
"name": "component-pattern",
|
|
2563
|
+
"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."
|
|
2630
2564
|
},
|
|
2631
2565
|
{
|
|
2632
|
-
"name": "
|
|
2633
|
-
"
|
|
2634
|
-
|
|
2635
|
-
|
|
2566
|
+
"name": "to",
|
|
2567
|
+
"description": "permitted values: [main, specific-version]. 'main' - head version on main."
|
|
2568
|
+
}
|
|
2569
|
+
]
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"name": "test [component-pattern]",
|
|
2573
|
+
"alias": "at",
|
|
2574
|
+
"options": [
|
|
2575
|
+
[
|
|
2576
|
+
"w",
|
|
2577
|
+
"watch",
|
|
2578
|
+
"start the tester in watch mode."
|
|
2579
|
+
],
|
|
2580
|
+
[
|
|
2581
|
+
"d",
|
|
2582
|
+
"debug",
|
|
2583
|
+
"start the tester in debug mode."
|
|
2584
|
+
],
|
|
2585
|
+
[
|
|
2586
|
+
"a",
|
|
2587
|
+
"all",
|
|
2588
|
+
"DEPRECATED. (use --unmodified)"
|
|
2589
|
+
],
|
|
2590
|
+
[
|
|
2591
|
+
"u",
|
|
2592
|
+
"unmodified",
|
|
2593
|
+
"test all components, not only new and modified"
|
|
2594
|
+
],
|
|
2595
|
+
[
|
|
2596
|
+
"",
|
|
2597
|
+
"junit <filepath>",
|
|
2598
|
+
"write tests results as JUnit XML format into the specified file path"
|
|
2599
|
+
],
|
|
2600
|
+
[
|
|
2601
|
+
"",
|
|
2602
|
+
"coverage",
|
|
2603
|
+
"show code coverage data"
|
|
2604
|
+
],
|
|
2605
|
+
[
|
|
2606
|
+
"e",
|
|
2607
|
+
"env <id>",
|
|
2608
|
+
"test only components assigned the given env"
|
|
2609
|
+
],
|
|
2610
|
+
[
|
|
2611
|
+
"",
|
|
2612
|
+
"update-snapshot",
|
|
2613
|
+
"if supported by the tester, re-record every snapshot that fails during the test run"
|
|
2614
|
+
],
|
|
2615
|
+
[
|
|
2616
|
+
"s",
|
|
2617
|
+
"scope <scope-name>",
|
|
2618
|
+
"DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
|
|
2619
|
+
]
|
|
2620
|
+
],
|
|
2621
|
+
"description": "test components in the workspace. by default only runs tests for new and modified components",
|
|
2622
|
+
"extendedDescription": "",
|
|
2623
|
+
"group": "development",
|
|
2624
|
+
"private": false,
|
|
2625
|
+
"arguments": [
|
|
2626
|
+
{
|
|
2627
|
+
"name": "component-pattern",
|
|
2628
|
+
"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."
|
|
2629
|
+
}
|
|
2630
|
+
]
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"name": "diff [component-pattern] [version] [to-version]",
|
|
2634
|
+
"alias": "",
|
|
2635
|
+
"options": [
|
|
2636
|
+
[
|
|
2637
|
+
"v",
|
|
2638
|
+
"verbose",
|
|
2639
|
+
"show a more verbose output where possible"
|
|
2640
|
+
],
|
|
2641
|
+
[
|
|
2642
|
+
"t",
|
|
2643
|
+
"table",
|
|
2644
|
+
"show tables instead of plain text for dependencies diff"
|
|
2645
|
+
]
|
|
2646
|
+
],
|
|
2647
|
+
"description": "show the diff between the components' current source files and config, and their latest snapshot or tag",
|
|
2648
|
+
"extendedDescription": "",
|
|
2649
|
+
"group": "development",
|
|
2650
|
+
"private": false,
|
|
2651
|
+
"arguments": [
|
|
2652
|
+
{
|
|
2653
|
+
"name": "component-pattern",
|
|
2654
|
+
"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."
|
|
2655
|
+
},
|
|
2656
|
+
{
|
|
2657
|
+
"name": "version",
|
|
2658
|
+
"description": "specific version to compare against"
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"name": "to-version",
|
|
2662
|
+
"description": "specific version to compare to"
|
|
2663
|
+
}
|
|
2664
|
+
],
|
|
2665
|
+
"examples": [
|
|
2666
|
+
{
|
|
2667
|
+
"cmd": "diff",
|
|
2668
|
+
"description": "show diff for all modified components"
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"cmd": "diff foo",
|
|
2672
|
+
"description": "show diff for a component \"foo\""
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"cmd": "diff foo 0.0.1",
|
|
2676
|
+
"description": "show diff for a component \"foo\" from the current state to version 0.0.1"
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"cmd": "diff foo 0.0.1 0.0.2",
|
|
2680
|
+
"description": "show diff for a component \"foo\" from version 0.0.1 to version 0.0.2"
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"cmd": "diff '$codeModified' ",
|
|
2684
|
+
"description": "show diff only for components with modified files. ignore config changes"
|
|
2685
|
+
}
|
|
2686
|
+
]
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
"name": "deps <sub-command>",
|
|
2690
|
+
"alias": "dependencies",
|
|
2691
|
+
"options": [],
|
|
2692
|
+
"description": "manage dependencies",
|
|
2693
|
+
"extendedDescription": "",
|
|
2694
|
+
"group": "info",
|
|
2695
|
+
"private": false,
|
|
2696
|
+
"commands": [
|
|
2697
|
+
{
|
|
2698
|
+
"name": "get <component-name>",
|
|
2699
|
+
"alias": "",
|
|
2700
|
+
"options": [
|
|
2701
|
+
[
|
|
2702
|
+
"",
|
|
2703
|
+
"scope",
|
|
2704
|
+
"get the data from the scope instead of the workspace"
|
|
2705
|
+
],
|
|
2706
|
+
[
|
|
2707
|
+
"t",
|
|
2708
|
+
"tree",
|
|
2709
|
+
"render dependencies as a tree, similar to \"npm ls\""
|
|
2710
|
+
]
|
|
2711
|
+
],
|
|
2712
|
+
"description": "show direct and indirect dependencies of the given component",
|
|
2713
|
+
"extendedDescription": "",
|
|
2714
|
+
"group": "info",
|
|
2715
|
+
"private": false,
|
|
2716
|
+
"arguments": [
|
|
2717
|
+
{
|
|
2718
|
+
"name": "component-name",
|
|
2719
|
+
"description": "component name or component id"
|
|
2720
|
+
}
|
|
2721
|
+
]
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
"name": "remove <component-pattern> <package...>",
|
|
2725
|
+
"alias": "",
|
|
2726
|
+
"options": [
|
|
2727
|
+
[
|
|
2636
2728
|
"d",
|
|
2637
2729
|
"dev",
|
|
2638
2730
|
"remove from devDependencies"
|
|
@@ -2883,196 +2975,78 @@
|
|
|
2883
2975
|
]
|
|
2884
2976
|
},
|
|
2885
2977
|
{
|
|
2886
|
-
"name": "
|
|
2887
|
-
"alias": "
|
|
2978
|
+
"name": "insights [names...]",
|
|
2979
|
+
"alias": "",
|
|
2888
2980
|
"options": [
|
|
2889
2981
|
[
|
|
2890
|
-
"
|
|
2891
|
-
"
|
|
2892
|
-
"
|
|
2893
|
-
],
|
|
2894
|
-
[
|
|
2895
|
-
"x",
|
|
2896
|
-
"skip-dependency-installation",
|
|
2897
|
-
"do not auto-install dependencies"
|
|
2982
|
+
"l",
|
|
2983
|
+
"list",
|
|
2984
|
+
"list all insights"
|
|
2898
2985
|
],
|
|
2899
2986
|
[
|
|
2900
2987
|
"j",
|
|
2901
2988
|
"json",
|
|
2902
|
-
"
|
|
2989
|
+
"return the insights in json format"
|
|
2903
2990
|
],
|
|
2904
2991
|
[
|
|
2905
2992
|
"",
|
|
2906
|
-
"
|
|
2907
|
-
"
|
|
2993
|
+
"include-deps",
|
|
2994
|
+
"include component dependencies that are not in this workspace"
|
|
2908
2995
|
]
|
|
2909
2996
|
],
|
|
2910
|
-
"description": "
|
|
2911
|
-
"extendedDescription": "
|
|
2997
|
+
"description": "Insights on component graph",
|
|
2998
|
+
"extendedDescription": "",
|
|
2912
2999
|
"group": "development",
|
|
2913
|
-
"private":
|
|
2914
|
-
"arguments": [
|
|
2915
|
-
{
|
|
2916
|
-
"name": "component-pattern",
|
|
2917
|
-
"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."
|
|
2918
|
-
}
|
|
2919
|
-
]
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
2923
|
-
"alias": "",
|
|
2924
|
-
"options": [],
|
|
2925
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
2926
|
-
"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",
|
|
2927
|
-
"group": "collaborate",
|
|
2928
|
-
"private": true,
|
|
2929
|
-
"remoteOp": true
|
|
3000
|
+
"private": true
|
|
2930
3001
|
},
|
|
2931
3002
|
{
|
|
2932
|
-
"name": "
|
|
2933
|
-
"alias": "
|
|
3003
|
+
"name": "tag [component-patterns...]",
|
|
3004
|
+
"alias": "t",
|
|
2934
3005
|
"options": [
|
|
2935
3006
|
[
|
|
2936
|
-
"
|
|
2937
|
-
"
|
|
2938
|
-
"
|
|
3007
|
+
"m",
|
|
3008
|
+
"message <message>",
|
|
3009
|
+
"a log message describing latest changes"
|
|
2939
3010
|
],
|
|
2940
3011
|
[
|
|
2941
|
-
"
|
|
2942
|
-
"
|
|
2943
|
-
"
|
|
3012
|
+
"u",
|
|
3013
|
+
"unmodified",
|
|
3014
|
+
"include unmodified components (by default, only new and modified components are tagged)"
|
|
2944
3015
|
],
|
|
2945
3016
|
[
|
|
2946
3017
|
"",
|
|
2947
|
-
"
|
|
2948
|
-
"
|
|
3018
|
+
"editor [editor]",
|
|
3019
|
+
"open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
2949
3020
|
],
|
|
2950
3021
|
[
|
|
2951
|
-
"",
|
|
2952
|
-
"
|
|
2953
|
-
"
|
|
3022
|
+
"v",
|
|
3023
|
+
"ver <version>",
|
|
3024
|
+
"tag with the given version"
|
|
2954
3025
|
],
|
|
2955
3026
|
[
|
|
2956
|
-
"",
|
|
2957
|
-
"
|
|
2958
|
-
"
|
|
3027
|
+
"l",
|
|
3028
|
+
"increment <level>",
|
|
3029
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
2959
3030
|
],
|
|
2960
3031
|
[
|
|
2961
3032
|
"",
|
|
2962
|
-
"
|
|
2963
|
-
"
|
|
3033
|
+
"prerelease-id <id>",
|
|
3034
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
2964
3035
|
],
|
|
2965
3036
|
[
|
|
2966
|
-
"",
|
|
2967
|
-
"
|
|
2968
|
-
"
|
|
3037
|
+
"p",
|
|
3038
|
+
"patch",
|
|
3039
|
+
"syntactic sugar for \"--increment patch\""
|
|
2969
3040
|
],
|
|
2970
3041
|
[
|
|
2971
3042
|
"",
|
|
2972
|
-
"
|
|
2973
|
-
"
|
|
3043
|
+
"minor",
|
|
3044
|
+
"syntactic sugar for \"--increment minor\""
|
|
2974
3045
|
],
|
|
2975
3046
|
[
|
|
2976
3047
|
"",
|
|
2977
|
-
"
|
|
2978
|
-
"
|
|
2979
|
-
],
|
|
2980
|
-
[
|
|
2981
|
-
"",
|
|
2982
|
-
"verbose",
|
|
2983
|
-
"per exported component, show the versions being exported"
|
|
2984
|
-
],
|
|
2985
|
-
[
|
|
2986
|
-
"j",
|
|
2987
|
-
"json",
|
|
2988
|
-
"show output in json format"
|
|
2989
|
-
]
|
|
2990
|
-
],
|
|
2991
|
-
"description": "export components from the workspace to remote scopes",
|
|
2992
|
-
"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)",
|
|
2993
|
-
"group": "collaborate",
|
|
2994
|
-
"private": false,
|
|
2995
|
-
"remoteOp": true,
|
|
2996
|
-
"arguments": [
|
|
2997
|
-
{
|
|
2998
|
-
"name": "component-patterns...",
|
|
2999
|
-
"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."
|
|
3000
|
-
}
|
|
3001
|
-
]
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
"name": "insights [names...]",
|
|
3005
|
-
"alias": "",
|
|
3006
|
-
"options": [
|
|
3007
|
-
[
|
|
3008
|
-
"l",
|
|
3009
|
-
"list",
|
|
3010
|
-
"list all insights"
|
|
3011
|
-
],
|
|
3012
|
-
[
|
|
3013
|
-
"j",
|
|
3014
|
-
"json",
|
|
3015
|
-
"return the insights in json format"
|
|
3016
|
-
],
|
|
3017
|
-
[
|
|
3018
|
-
"",
|
|
3019
|
-
"include-deps",
|
|
3020
|
-
"include component dependencies that are not in this workspace"
|
|
3021
|
-
]
|
|
3022
|
-
],
|
|
3023
|
-
"description": "Insights on component graph",
|
|
3024
|
-
"extendedDescription": "",
|
|
3025
|
-
"group": "development",
|
|
3026
|
-
"private": true
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"name": "tag [component-patterns...]",
|
|
3030
|
-
"alias": "t",
|
|
3031
|
-
"options": [
|
|
3032
|
-
[
|
|
3033
|
-
"m",
|
|
3034
|
-
"message <message>",
|
|
3035
|
-
"a log message describing latest changes"
|
|
3036
|
-
],
|
|
3037
|
-
[
|
|
3038
|
-
"u",
|
|
3039
|
-
"unmodified",
|
|
3040
|
-
"include unmodified components (by default, only new and modified components are tagged)"
|
|
3041
|
-
],
|
|
3042
|
-
[
|
|
3043
|
-
"",
|
|
3044
|
-
"editor [editor]",
|
|
3045
|
-
"open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
3046
|
-
],
|
|
3047
|
-
[
|
|
3048
|
-
"v",
|
|
3049
|
-
"ver <version>",
|
|
3050
|
-
"tag with the given version"
|
|
3051
|
-
],
|
|
3052
|
-
[
|
|
3053
|
-
"l",
|
|
3054
|
-
"increment <level>",
|
|
3055
|
-
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
3056
|
-
],
|
|
3057
|
-
[
|
|
3058
|
-
"",
|
|
3059
|
-
"prerelease-id <id>",
|
|
3060
|
-
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
3061
|
-
],
|
|
3062
|
-
[
|
|
3063
|
-
"p",
|
|
3064
|
-
"patch",
|
|
3065
|
-
"syntactic sugar for \"--increment patch\""
|
|
3066
|
-
],
|
|
3067
|
-
[
|
|
3068
|
-
"",
|
|
3069
|
-
"minor",
|
|
3070
|
-
"syntactic sugar for \"--increment minor\""
|
|
3071
|
-
],
|
|
3072
|
-
[
|
|
3073
|
-
"",
|
|
3074
|
-
"major",
|
|
3075
|
-
"syntactic sugar for \"--increment major\""
|
|
3048
|
+
"major",
|
|
3049
|
+
"syntactic sugar for \"--increment major\""
|
|
3076
3050
|
],
|
|
3077
3051
|
[
|
|
3078
3052
|
"",
|
|
@@ -3469,11 +3443,6 @@
|
|
|
3469
3443
|
"ignore-issues [issues]",
|
|
3470
3444
|
"ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingManuallyConfiguredPackages, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage, MergeConfigHasConflict, NonLoadedEnv, ExternalEnvWithoutVersion, RemovedDependencies, RemovedEnv, DeprecatedDependencies, SelfReference, ImportFromDirectory]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
|
|
3471
3445
|
],
|
|
3472
|
-
[
|
|
3473
|
-
"",
|
|
3474
|
-
"update-dependents",
|
|
3475
|
-
"when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace"
|
|
3476
|
-
],
|
|
3477
3446
|
[
|
|
3478
3447
|
"",
|
|
3479
3448
|
"tag",
|
|
@@ -3488,6 +3457,11 @@
|
|
|
3488
3457
|
"j",
|
|
3489
3458
|
"json",
|
|
3490
3459
|
"output as json format"
|
|
3460
|
+
],
|
|
3461
|
+
[
|
|
3462
|
+
"",
|
|
3463
|
+
"update-dependents",
|
|
3464
|
+
"when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace"
|
|
3491
3465
|
]
|
|
3492
3466
|
],
|
|
3493
3467
|
"description": "snap components from a bare-scope",
|
|
@@ -3505,18 +3479,18 @@
|
|
|
3505
3479
|
"private": true
|
|
3506
3480
|
},
|
|
3507
3481
|
{
|
|
3508
|
-
"name": "
|
|
3509
|
-
"alias": "
|
|
3482
|
+
"name": "merge [component-pattern]",
|
|
3483
|
+
"alias": "",
|
|
3510
3484
|
"options": [
|
|
3511
3485
|
[
|
|
3512
|
-
"
|
|
3513
|
-
"
|
|
3514
|
-
"
|
|
3486
|
+
"",
|
|
3487
|
+
"ours",
|
|
3488
|
+
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep the local modification"
|
|
3515
3489
|
],
|
|
3516
3490
|
[
|
|
3517
|
-
"
|
|
3518
|
-
"
|
|
3519
|
-
"in case of
|
|
3491
|
+
"",
|
|
3492
|
+
"theirs",
|
|
3493
|
+
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, override the local modification with the specified version"
|
|
3520
3494
|
],
|
|
3521
3495
|
[
|
|
3522
3496
|
"",
|
|
@@ -3524,139 +3498,144 @@
|
|
|
3524
3498
|
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
3525
3499
|
],
|
|
3526
3500
|
[
|
|
3527
|
-
"
|
|
3528
|
-
"
|
|
3529
|
-
"
|
|
3501
|
+
"r",
|
|
3502
|
+
"auto-merge-resolve <merge-strategy>",
|
|
3503
|
+
"in case of a conflict, resolve according to the strategy: [ours, theirs, manual]"
|
|
3530
3504
|
],
|
|
3531
3505
|
[
|
|
3532
|
-
"
|
|
3533
|
-
"
|
|
3534
|
-
"
|
|
3506
|
+
"",
|
|
3507
|
+
"abort",
|
|
3508
|
+
"in case of an unresolved merge, revert to pre-merge state"
|
|
3535
3509
|
],
|
|
3536
3510
|
[
|
|
3537
|
-
"
|
|
3538
|
-
"
|
|
3539
|
-
"
|
|
3511
|
+
"",
|
|
3512
|
+
"resolve",
|
|
3513
|
+
"mark an unresolved merge as resolved and create a new snap with the changes"
|
|
3540
3514
|
],
|
|
3541
3515
|
[
|
|
3542
|
-
"
|
|
3543
|
-
"
|
|
3544
|
-
"do not auto
|
|
3516
|
+
"",
|
|
3517
|
+
"no-snap",
|
|
3518
|
+
"do not auto snap even if the merge completed without conflicts"
|
|
3545
3519
|
],
|
|
3546
3520
|
[
|
|
3547
3521
|
"",
|
|
3548
|
-
"
|
|
3549
|
-
"
|
|
3522
|
+
"build",
|
|
3523
|
+
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
3550
3524
|
],
|
|
3551
3525
|
[
|
|
3552
3526
|
"",
|
|
3553
|
-
"force-theirs",
|
|
3554
|
-
"do not merge, just overwrite with incoming files"
|
|
3555
|
-
]
|
|
3556
|
-
],
|
|
3557
|
-
"description": "switch between component versions or remove local changes",
|
|
3558
|
-
"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\"",
|
|
3559
|
-
"group": "development",
|
|
3560
|
-
"private": false,
|
|
3561
|
-
"arguments": [
|
|
3562
|
-
{
|
|
3563
|
-
"name": "to",
|
|
3564
|
-
"description": "permitted values: [head, latest, reset, {specific-version}, {head~x}]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
3565
|
-
},
|
|
3566
|
-
{
|
|
3567
|
-
"name": "component-pattern",
|
|
3568
|
-
"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."
|
|
3569
|
-
}
|
|
3570
|
-
]
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
"name": "revert <component-pattern> <to>",
|
|
3574
|
-
"alias": "",
|
|
3575
|
-
"options": [
|
|
3576
|
-
[
|
|
3577
|
-
"v",
|
|
3578
3527
|
"verbose",
|
|
3579
|
-
"
|
|
3528
|
+
"show details of components that were not merged successfully"
|
|
3580
3529
|
],
|
|
3581
3530
|
[
|
|
3582
3531
|
"x",
|
|
3583
3532
|
"skip-dependency-installation",
|
|
3584
|
-
"do not install
|
|
3533
|
+
"do not install new dependencies resulting from the merge"
|
|
3534
|
+
],
|
|
3535
|
+
[
|
|
3536
|
+
"m",
|
|
3537
|
+
"message <message>",
|
|
3538
|
+
"override the default message for the auto snap"
|
|
3585
3539
|
]
|
|
3586
3540
|
],
|
|
3587
|
-
"description": "
|
|
3588
|
-
"extendedDescription": "",
|
|
3541
|
+
"description": "merge changes of the remote head into local - auto-snaps all merged components",
|
|
3542
|
+
"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.",
|
|
3589
3543
|
"group": "development",
|
|
3590
3544
|
"private": false,
|
|
3591
3545
|
"arguments": [
|
|
3592
3546
|
{
|
|
3593
3547
|
"name": "component-pattern",
|
|
3594
3548
|
"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."
|
|
3595
|
-
},
|
|
3596
|
-
{
|
|
3597
|
-
"name": "to",
|
|
3598
|
-
"description": "permitted values: [main, specific-version]. 'main' - head version on main."
|
|
3599
3549
|
}
|
|
3600
3550
|
]
|
|
3601
3551
|
},
|
|
3602
3552
|
{
|
|
3603
|
-
"name": "
|
|
3604
|
-
"alias": "",
|
|
3553
|
+
"name": "lane [sub-command]",
|
|
3554
|
+
"alias": "l",
|
|
3605
3555
|
"options": [
|
|
3606
3556
|
[
|
|
3607
|
-
"
|
|
3608
|
-
"
|
|
3609
|
-
"
|
|
3557
|
+
"d",
|
|
3558
|
+
"details",
|
|
3559
|
+
"show more details on the state of each component in each lane"
|
|
3610
3560
|
],
|
|
3611
3561
|
[
|
|
3612
|
-
"
|
|
3613
|
-
"
|
|
3614
|
-
"
|
|
3562
|
+
"j",
|
|
3563
|
+
"json",
|
|
3564
|
+
"show lanes details in json format"
|
|
3565
|
+
],
|
|
3566
|
+
[
|
|
3567
|
+
"r",
|
|
3568
|
+
"remote <remote-scope-name>",
|
|
3569
|
+
"show all remote lanes from the specified scope"
|
|
3570
|
+
],
|
|
3571
|
+
[
|
|
3572
|
+
"",
|
|
3573
|
+
"merged",
|
|
3574
|
+
"list only merged lanes"
|
|
3575
|
+
],
|
|
3576
|
+
[
|
|
3577
|
+
"",
|
|
3578
|
+
"not-merged",
|
|
3579
|
+
"list only lanes that haven't been merged"
|
|
3615
3580
|
]
|
|
3616
3581
|
],
|
|
3617
|
-
"description": "
|
|
3582
|
+
"description": "manage lanes - if no sub-command is used, runs \"bit lane list\"",
|
|
3618
3583
|
"extendedDescription": "",
|
|
3619
|
-
"group": "
|
|
3584
|
+
"group": "collaborate",
|
|
3620
3585
|
"private": false,
|
|
3586
|
+
"remoteOp": true,
|
|
3587
|
+
"skipWorkspace": true,
|
|
3621
3588
|
"commands": [
|
|
3622
3589
|
{
|
|
3623
|
-
"name": "
|
|
3624
|
-
"alias": "
|
|
3590
|
+
"name": "list",
|
|
3591
|
+
"alias": "",
|
|
3625
3592
|
"options": [
|
|
3626
3593
|
[
|
|
3627
|
-
"
|
|
3628
|
-
"
|
|
3629
|
-
"
|
|
3594
|
+
"d",
|
|
3595
|
+
"details",
|
|
3596
|
+
"show more details on the state of each component in each lane"
|
|
3597
|
+
],
|
|
3598
|
+
[
|
|
3599
|
+
"j",
|
|
3600
|
+
"json",
|
|
3601
|
+
"show lanes' details in a json format"
|
|
3602
|
+
],
|
|
3603
|
+
[
|
|
3604
|
+
"r",
|
|
3605
|
+
"remote <remote-scope-name>",
|
|
3606
|
+
"show all remote lanes from the specified scope"
|
|
3630
3607
|
],
|
|
3631
3608
|
[
|
|
3632
3609
|
"",
|
|
3633
|
-
"
|
|
3634
|
-
"
|
|
3610
|
+
"merged",
|
|
3611
|
+
"list only merged lanes"
|
|
3635
3612
|
],
|
|
3636
3613
|
[
|
|
3637
|
-
"
|
|
3638
|
-
"
|
|
3639
|
-
"
|
|
3614
|
+
"",
|
|
3615
|
+
"not-merged",
|
|
3616
|
+
"list only lanes that haven't been merged"
|
|
3640
3617
|
]
|
|
3641
3618
|
],
|
|
3642
|
-
"description": "
|
|
3619
|
+
"description": "list local or remote lanes",
|
|
3643
3620
|
"extendedDescription": "",
|
|
3644
|
-
"group": "
|
|
3645
|
-
"private": false
|
|
3621
|
+
"group": "ungrouped",
|
|
3622
|
+
"private": false,
|
|
3623
|
+
"remoteOp": true,
|
|
3624
|
+
"skipWorkspace": true
|
|
3646
3625
|
},
|
|
3647
3626
|
{
|
|
3648
|
-
"name": "
|
|
3649
|
-
"alias": "
|
|
3627
|
+
"name": "switch <lane>",
|
|
3628
|
+
"alias": "",
|
|
3650
3629
|
"options": [
|
|
3651
3630
|
[
|
|
3652
|
-
"
|
|
3653
|
-
"
|
|
3654
|
-
"
|
|
3631
|
+
"h",
|
|
3632
|
+
"head",
|
|
3633
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
3655
3634
|
],
|
|
3656
3635
|
[
|
|
3657
|
-
"",
|
|
3658
|
-
"
|
|
3659
|
-
"
|
|
3636
|
+
"r",
|
|
3637
|
+
"auto-merge-resolve <merge-strategy>",
|
|
3638
|
+
"merge local changes with the checked out version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
3660
3639
|
],
|
|
3661
3640
|
[
|
|
3662
3641
|
"",
|
|
@@ -3667,1011 +3646,1112 @@
|
|
|
3667
3646
|
"",
|
|
3668
3647
|
"force-theirs",
|
|
3669
3648
|
"do not merge, just overwrite with incoming files"
|
|
3649
|
+
],
|
|
3650
|
+
[
|
|
3651
|
+
"a",
|
|
3652
|
+
"get-all",
|
|
3653
|
+
"DEPRECATED. this is currently the default behavior"
|
|
3654
|
+
],
|
|
3655
|
+
[
|
|
3656
|
+
"",
|
|
3657
|
+
"workspace-only",
|
|
3658
|
+
"checkout only the components in the workspace to the selected lane"
|
|
3659
|
+
],
|
|
3660
|
+
[
|
|
3661
|
+
"x",
|
|
3662
|
+
"skip-dependency-installation",
|
|
3663
|
+
"do not install dependencies of the imported components"
|
|
3664
|
+
],
|
|
3665
|
+
[
|
|
3666
|
+
"p",
|
|
3667
|
+
"pattern <component-pattern>",
|
|
3668
|
+
"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."
|
|
3669
|
+
],
|
|
3670
|
+
[
|
|
3671
|
+
"n",
|
|
3672
|
+
"alias <string>",
|
|
3673
|
+
"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"
|
|
3674
|
+
],
|
|
3675
|
+
[
|
|
3676
|
+
"j",
|
|
3677
|
+
"json",
|
|
3678
|
+
"return the output as JSON"
|
|
3670
3679
|
]
|
|
3671
3680
|
],
|
|
3672
|
-
"description": "
|
|
3681
|
+
"description": "switch to the specified lane",
|
|
3673
3682
|
"extendedDescription": "",
|
|
3674
|
-
"group": "
|
|
3675
|
-
"private":
|
|
3683
|
+
"group": "ungrouped",
|
|
3684
|
+
"private": true,
|
|
3685
|
+
"arguments": [
|
|
3686
|
+
{
|
|
3687
|
+
"name": "lane",
|
|
3688
|
+
"description": "lane-name or lane-id (if lane is not local) to switch to"
|
|
3689
|
+
}
|
|
3690
|
+
]
|
|
3676
3691
|
},
|
|
3677
3692
|
{
|
|
3678
|
-
"name": "
|
|
3693
|
+
"name": "show [lane-name]",
|
|
3679
3694
|
"alias": "",
|
|
3680
|
-
"options": [
|
|
3681
|
-
|
|
3695
|
+
"options": [
|
|
3696
|
+
[
|
|
3697
|
+
"j",
|
|
3698
|
+
"json",
|
|
3699
|
+
"show the lane details in json format"
|
|
3700
|
+
],
|
|
3701
|
+
[
|
|
3702
|
+
"r",
|
|
3703
|
+
"remote",
|
|
3704
|
+
"show details of the remote head of the provided lane"
|
|
3705
|
+
]
|
|
3706
|
+
],
|
|
3707
|
+
"description": "show lane details. if no lane specified, show the current lane",
|
|
3682
3708
|
"extendedDescription": "",
|
|
3683
|
-
"group": "
|
|
3684
|
-
"private": false
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
},
|
|
3688
|
-
{
|
|
3689
|
-
"name": "test [component-pattern]",
|
|
3690
|
-
"alias": "at",
|
|
3691
|
-
"options": [
|
|
3692
|
-
[
|
|
3693
|
-
"w",
|
|
3694
|
-
"watch",
|
|
3695
|
-
"start the tester in watch mode."
|
|
3696
|
-
],
|
|
3697
|
-
[
|
|
3698
|
-
"d",
|
|
3699
|
-
"debug",
|
|
3700
|
-
"start the tester in debug mode."
|
|
3701
|
-
],
|
|
3702
|
-
[
|
|
3703
|
-
"a",
|
|
3704
|
-
"all",
|
|
3705
|
-
"DEPRECATED. (use --unmodified)"
|
|
3706
|
-
],
|
|
3707
|
-
[
|
|
3708
|
-
"u",
|
|
3709
|
-
"unmodified",
|
|
3710
|
-
"test all components, not only new and modified"
|
|
3711
|
-
],
|
|
3712
|
-
[
|
|
3713
|
-
"",
|
|
3714
|
-
"junit <filepath>",
|
|
3715
|
-
"write tests results as JUnit XML format into the specified file path"
|
|
3716
|
-
],
|
|
3717
|
-
[
|
|
3718
|
-
"",
|
|
3719
|
-
"coverage",
|
|
3720
|
-
"show code coverage data"
|
|
3721
|
-
],
|
|
3722
|
-
[
|
|
3723
|
-
"e",
|
|
3724
|
-
"env <id>",
|
|
3725
|
-
"test only components assigned the given env"
|
|
3726
|
-
],
|
|
3727
|
-
[
|
|
3728
|
-
"",
|
|
3729
|
-
"update-snapshot",
|
|
3730
|
-
"if supported by the tester, re-record every snapshot that fails during the test run"
|
|
3731
|
-
],
|
|
3732
|
-
[
|
|
3733
|
-
"s",
|
|
3734
|
-
"scope <scope-name>",
|
|
3735
|
-
"DEPRECATED. (use the pattern instead, e.g. \"scopeName/**\"). name of the scope to test"
|
|
3736
|
-
]
|
|
3737
|
-
],
|
|
3738
|
-
"description": "test components in the workspace. by default only runs tests for new and modified components",
|
|
3739
|
-
"extendedDescription": "",
|
|
3740
|
-
"group": "development",
|
|
3741
|
-
"private": false,
|
|
3742
|
-
"arguments": [
|
|
3743
|
-
{
|
|
3744
|
-
"name": "component-pattern",
|
|
3745
|
-
"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."
|
|
3746
|
-
}
|
|
3747
|
-
]
|
|
3748
|
-
},
|
|
3749
|
-
{
|
|
3750
|
-
"name": "diff [component-pattern] [version] [to-version]",
|
|
3751
|
-
"alias": "",
|
|
3752
|
-
"options": [
|
|
3753
|
-
[
|
|
3754
|
-
"v",
|
|
3755
|
-
"verbose",
|
|
3756
|
-
"show a more verbose output where possible"
|
|
3757
|
-
],
|
|
3758
|
-
[
|
|
3759
|
-
"t",
|
|
3760
|
-
"table",
|
|
3761
|
-
"show tables instead of plain text for dependencies diff"
|
|
3762
|
-
]
|
|
3763
|
-
],
|
|
3764
|
-
"description": "show the diff between the components' current source files and config, and their latest snapshot or tag",
|
|
3765
|
-
"extendedDescription": "",
|
|
3766
|
-
"group": "development",
|
|
3767
|
-
"private": false,
|
|
3768
|
-
"arguments": [
|
|
3769
|
-
{
|
|
3770
|
-
"name": "component-pattern",
|
|
3771
|
-
"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."
|
|
3772
|
-
},
|
|
3773
|
-
{
|
|
3774
|
-
"name": "version",
|
|
3775
|
-
"description": "specific version to compare against"
|
|
3709
|
+
"group": "ungrouped",
|
|
3710
|
+
"private": false,
|
|
3711
|
+
"remoteOp": true,
|
|
3712
|
+
"skipWorkspace": true
|
|
3776
3713
|
},
|
|
3777
3714
|
{
|
|
3778
|
-
"name": "
|
|
3779
|
-
"
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3715
|
+
"name": "create <lane-name>",
|
|
3716
|
+
"alias": "",
|
|
3717
|
+
"options": [
|
|
3718
|
+
[
|
|
3719
|
+
"s",
|
|
3720
|
+
"scope <scope-name>",
|
|
3721
|
+
"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\")"
|
|
3722
|
+
],
|
|
3723
|
+
[
|
|
3724
|
+
"",
|
|
3725
|
+
"remote-scope <scope-name>",
|
|
3726
|
+
"DEPRECATED. use --scope"
|
|
3727
|
+
],
|
|
3728
|
+
[
|
|
3729
|
+
"",
|
|
3730
|
+
"alias <name>",
|
|
3731
|
+
"a local alias to refer to this lane, defaults to the `<lane-name>` (can be added later with \"bit lane alias\")"
|
|
3732
|
+
],
|
|
3733
|
+
[
|
|
3734
|
+
"",
|
|
3735
|
+
"fork-lane-new-scope",
|
|
3736
|
+
"create the new lane in a different scope than its parent lane (if created from another lane)"
|
|
3737
|
+
]
|
|
3738
|
+
],
|
|
3739
|
+
"description": "creates a new lane and switches to it",
|
|
3740
|
+
"extendedDescription": "a lane created from main (default-lane) is empty until components are snapped.\na lane created from another lane contains all the components of the original lane.",
|
|
3741
|
+
"group": "ungrouped",
|
|
3742
|
+
"private": false,
|
|
3743
|
+
"arguments": [
|
|
3744
|
+
{
|
|
3745
|
+
"name": "lane-name",
|
|
3746
|
+
"description": "the name for the new lane"
|
|
3747
|
+
}
|
|
3748
|
+
]
|
|
3786
3749
|
},
|
|
3787
3750
|
{
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3751
|
+
"name": "remove <lanes...>",
|
|
3752
|
+
"alias": "",
|
|
3753
|
+
"options": [
|
|
3754
|
+
[
|
|
3755
|
+
"r",
|
|
3756
|
+
"remote",
|
|
3757
|
+
"delete a remote lane. use remote/lane-id syntax e.g. bit lane remove owner.org/my-lane --remote. Delete is immediate, no export required"
|
|
3758
|
+
],
|
|
3759
|
+
[
|
|
3760
|
+
"f",
|
|
3761
|
+
"force",
|
|
3762
|
+
"removes/deletes the lane even when the lane is not yet merged to main"
|
|
3763
|
+
],
|
|
3764
|
+
[
|
|
3765
|
+
"s",
|
|
3766
|
+
"silent",
|
|
3767
|
+
"skip confirmation"
|
|
3768
|
+
]
|
|
3769
|
+
],
|
|
3770
|
+
"description": "remove or delete lanes",
|
|
3771
|
+
"extendedDescription": "",
|
|
3772
|
+
"group": "collaborate",
|
|
3773
|
+
"private": false,
|
|
3774
|
+
"arguments": [
|
|
3775
|
+
{
|
|
3776
|
+
"name": "lanes...",
|
|
3777
|
+
"description": "A list of lane names, separated by spaces"
|
|
3778
|
+
}
|
|
3779
|
+
]
|
|
3790
3780
|
},
|
|
3791
3781
|
{
|
|
3792
|
-
"
|
|
3793
|
-
"description": "show diff for a component \"foo\" from the current state to version 0.0.1"
|
|
3794
|
-
},
|
|
3795
|
-
{
|
|
3796
|
-
"cmd": "diff foo 0.0.1 0.0.2",
|
|
3797
|
-
"description": "show diff for a component \"foo\" from version 0.0.1 to version 0.0.2"
|
|
3798
|
-
},
|
|
3799
|
-
{
|
|
3800
|
-
"cmd": "diff '$codeModified' ",
|
|
3801
|
-
"description": "show diff only for components with modified files. ignore config changes"
|
|
3802
|
-
}
|
|
3803
|
-
]
|
|
3804
|
-
},
|
|
3805
|
-
{
|
|
3806
|
-
"name": "log <id>",
|
|
3807
|
-
"alias": "",
|
|
3808
|
-
"options": [
|
|
3809
|
-
[
|
|
3810
|
-
"r",
|
|
3811
|
-
"remote",
|
|
3812
|
-
"show log of a remote component"
|
|
3813
|
-
],
|
|
3814
|
-
[
|
|
3815
|
-
"",
|
|
3816
|
-
"parents",
|
|
3817
|
-
"show parents and lanes data"
|
|
3818
|
-
],
|
|
3819
|
-
[
|
|
3820
|
-
"o",
|
|
3821
|
-
"one-line",
|
|
3822
|
-
"show each log entry in one line"
|
|
3823
|
-
],
|
|
3824
|
-
[
|
|
3825
|
-
"f",
|
|
3826
|
-
"full-hash",
|
|
3827
|
-
"show full hash of the snap (default to the first 9 characters for --one-line/--parents flags)"
|
|
3828
|
-
],
|
|
3829
|
-
[
|
|
3830
|
-
"m",
|
|
3831
|
-
"full-message",
|
|
3832
|
-
"show full message of the snap (default to the first line for --one-line/--parents flags)"
|
|
3833
|
-
],
|
|
3834
|
-
[
|
|
3835
|
-
"",
|
|
3836
|
-
"show-hidden",
|
|
3837
|
-
"show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config)"
|
|
3838
|
-
],
|
|
3839
|
-
[
|
|
3840
|
-
"j",
|
|
3841
|
-
"json",
|
|
3842
|
-
"json format"
|
|
3843
|
-
]
|
|
3844
|
-
],
|
|
3845
|
-
"description": "show components(s) version history",
|
|
3846
|
-
"extendedDescription": "",
|
|
3847
|
-
"group": "info",
|
|
3848
|
-
"private": false,
|
|
3849
|
-
"remoteOp": true,
|
|
3850
|
-
"skipWorkspace": true,
|
|
3851
|
-
"arguments": [
|
|
3852
|
-
{
|
|
3853
|
-
"name": "id",
|
|
3854
|
-
"description": "component-id or component-name"
|
|
3855
|
-
}
|
|
3856
|
-
]
|
|
3857
|
-
},
|
|
3858
|
-
{
|
|
3859
|
-
"name": "log-file <filepath>",
|
|
3860
|
-
"alias": "",
|
|
3861
|
-
"options": [
|
|
3862
|
-
[
|
|
3863
|
-
"o",
|
|
3864
|
-
"one-line",
|
|
3865
|
-
"show each log entry in one line"
|
|
3866
|
-
]
|
|
3867
|
-
],
|
|
3868
|
-
"description": "EXPERIMENTAL. show file history",
|
|
3869
|
-
"extendedDescription": "",
|
|
3870
|
-
"group": "info",
|
|
3871
|
-
"private": false,
|
|
3872
|
-
"arguments": [
|
|
3873
|
-
{
|
|
3874
|
-
"name": "filepath",
|
|
3875
|
-
"description": "file path relative to the workspace"
|
|
3876
|
-
}
|
|
3877
|
-
]
|
|
3878
|
-
},
|
|
3879
|
-
{
|
|
3880
|
-
"name": "blame <filepath>",
|
|
3881
|
-
"alias": "",
|
|
3882
|
-
"options": [
|
|
3883
|
-
[
|
|
3884
|
-
"m",
|
|
3885
|
-
"include-message",
|
|
3886
|
-
"show the commit message"
|
|
3887
|
-
]
|
|
3888
|
-
],
|
|
3889
|
-
"description": "EXPERIMENTAL. per line, show who and when was the last to modify it",
|
|
3890
|
-
"extendedDescription": "",
|
|
3891
|
-
"group": "info",
|
|
3892
|
-
"private": false,
|
|
3893
|
-
"arguments": [
|
|
3894
|
-
{
|
|
3895
|
-
"name": "filepath",
|
|
3896
|
-
"description": "file path relative to the workspace"
|
|
3897
|
-
}
|
|
3898
|
-
]
|
|
3899
|
-
},
|
|
3900
|
-
{
|
|
3901
|
-
"name": "merge [component-pattern]",
|
|
3902
|
-
"alias": "",
|
|
3903
|
-
"options": [
|
|
3904
|
-
[
|
|
3905
|
-
"",
|
|
3906
|
-
"ours",
|
|
3907
|
-
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep the local modification"
|
|
3908
|
-
],
|
|
3909
|
-
[
|
|
3910
|
-
"",
|
|
3911
|
-
"theirs",
|
|
3912
|
-
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, override the local modification with the specified version"
|
|
3913
|
-
],
|
|
3914
|
-
[
|
|
3915
|
-
"",
|
|
3916
|
-
"manual",
|
|
3917
|
-
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
3918
|
-
],
|
|
3919
|
-
[
|
|
3920
|
-
"r",
|
|
3921
|
-
"auto-merge-resolve <merge-strategy>",
|
|
3922
|
-
"in case of a conflict, resolve according to the strategy: [ours, theirs, manual]"
|
|
3923
|
-
],
|
|
3924
|
-
[
|
|
3925
|
-
"",
|
|
3926
|
-
"abort",
|
|
3927
|
-
"in case of an unresolved merge, revert to pre-merge state"
|
|
3928
|
-
],
|
|
3929
|
-
[
|
|
3930
|
-
"",
|
|
3931
|
-
"resolve",
|
|
3932
|
-
"mark an unresolved merge as resolved and create a new snap with the changes"
|
|
3933
|
-
],
|
|
3934
|
-
[
|
|
3935
|
-
"",
|
|
3936
|
-
"no-snap",
|
|
3937
|
-
"do not auto snap even if the merge completed without conflicts"
|
|
3938
|
-
],
|
|
3939
|
-
[
|
|
3940
|
-
"",
|
|
3941
|
-
"build",
|
|
3942
|
-
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
3943
|
-
],
|
|
3944
|
-
[
|
|
3945
|
-
"",
|
|
3946
|
-
"verbose",
|
|
3947
|
-
"show details of components that were not merged successfully"
|
|
3948
|
-
],
|
|
3949
|
-
[
|
|
3950
|
-
"x",
|
|
3951
|
-
"skip-dependency-installation",
|
|
3952
|
-
"do not install new dependencies resulting from the merge"
|
|
3953
|
-
],
|
|
3954
|
-
[
|
|
3955
|
-
"m",
|
|
3956
|
-
"message <message>",
|
|
3957
|
-
"override the default message for the auto snap"
|
|
3958
|
-
]
|
|
3959
|
-
],
|
|
3960
|
-
"description": "merge changes of the remote head into local - auto-snaps all merged components",
|
|
3961
|
-
"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.",
|
|
3962
|
-
"group": "development",
|
|
3963
|
-
"private": false,
|
|
3964
|
-
"arguments": [
|
|
3965
|
-
{
|
|
3966
|
-
"name": "component-pattern",
|
|
3967
|
-
"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."
|
|
3968
|
-
}
|
|
3969
|
-
]
|
|
3970
|
-
},
|
|
3971
|
-
{
|
|
3972
|
-
"name": "lane [sub-command]",
|
|
3973
|
-
"alias": "l",
|
|
3974
|
-
"options": [
|
|
3975
|
-
[
|
|
3976
|
-
"d",
|
|
3977
|
-
"details",
|
|
3978
|
-
"show more details on the state of each component in each lane"
|
|
3979
|
-
],
|
|
3980
|
-
[
|
|
3981
|
-
"j",
|
|
3982
|
-
"json",
|
|
3983
|
-
"show lanes details in json format"
|
|
3984
|
-
],
|
|
3985
|
-
[
|
|
3986
|
-
"r",
|
|
3987
|
-
"remote <remote-scope-name>",
|
|
3988
|
-
"show all remote lanes from the specified scope"
|
|
3989
|
-
],
|
|
3990
|
-
[
|
|
3991
|
-
"",
|
|
3992
|
-
"merged",
|
|
3993
|
-
"list only merged lanes"
|
|
3994
|
-
],
|
|
3995
|
-
[
|
|
3996
|
-
"",
|
|
3997
|
-
"not-merged",
|
|
3998
|
-
"list only lanes that haven't been merged"
|
|
3999
|
-
]
|
|
4000
|
-
],
|
|
4001
|
-
"description": "manage lanes - if no sub-command is used, runs \"bit lane list\"",
|
|
4002
|
-
"extendedDescription": "",
|
|
4003
|
-
"group": "collaborate",
|
|
4004
|
-
"private": false,
|
|
4005
|
-
"remoteOp": true,
|
|
4006
|
-
"skipWorkspace": true,
|
|
4007
|
-
"commands": [
|
|
4008
|
-
{
|
|
4009
|
-
"name": "list",
|
|
3782
|
+
"name": "change-scope <remote-scope-name>",
|
|
4010
3783
|
"alias": "",
|
|
4011
3784
|
"options": [
|
|
4012
3785
|
[
|
|
4013
|
-
"
|
|
4014
|
-
"
|
|
4015
|
-
"
|
|
4016
|
-
],
|
|
4017
|
-
[
|
|
4018
|
-
"j",
|
|
4019
|
-
"json",
|
|
4020
|
-
"show lanes' details in a json format"
|
|
4021
|
-
],
|
|
4022
|
-
[
|
|
4023
|
-
"r",
|
|
4024
|
-
"remote <remote-scope-name>",
|
|
4025
|
-
"show all remote lanes from the specified scope"
|
|
4026
|
-
],
|
|
4027
|
-
[
|
|
4028
|
-
"",
|
|
4029
|
-
"merged",
|
|
4030
|
-
"list only merged lanes"
|
|
4031
|
-
],
|
|
4032
|
-
[
|
|
4033
|
-
"",
|
|
4034
|
-
"not-merged",
|
|
4035
|
-
"list only lanes that haven't been merged"
|
|
3786
|
+
"l",
|
|
3787
|
+
"lane-name <lane-name>",
|
|
3788
|
+
"the name of the lane to change its remote scope. if not specified, the current lane is used"
|
|
4036
3789
|
]
|
|
4037
3790
|
],
|
|
4038
|
-
"description": "
|
|
4039
|
-
"extendedDescription": "",
|
|
3791
|
+
"description": "changes the remote scope of a lane",
|
|
3792
|
+
"extendedDescription": "NOTE: available only before the lane is exported to the remote",
|
|
4040
3793
|
"group": "ungrouped",
|
|
4041
|
-
"private": false
|
|
4042
|
-
"remoteOp": true,
|
|
4043
|
-
"skipWorkspace": true
|
|
3794
|
+
"private": false
|
|
4044
3795
|
},
|
|
4045
3796
|
{
|
|
4046
|
-
"name": "
|
|
3797
|
+
"name": "alias <lane-name> <alias>",
|
|
4047
3798
|
"alias": "",
|
|
4048
|
-
"options": [
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
],
|
|
4059
|
-
[
|
|
4060
|
-
"",
|
|
4061
|
-
"force-ours",
|
|
4062
|
-
"do not merge, preserve local files as is"
|
|
4063
|
-
],
|
|
4064
|
-
[
|
|
4065
|
-
"",
|
|
4066
|
-
"force-theirs",
|
|
4067
|
-
"do not merge, just overwrite with incoming files"
|
|
4068
|
-
],
|
|
3799
|
+
"options": [],
|
|
3800
|
+
"description": "adds an alias to a lane",
|
|
3801
|
+
"extendedDescription": "an alias is a name that can be used locally to refer to a lane. it is saved locally and never reaches the remote.\nit is useful e.g. when having multiple lanes with the same name, but with different remote scopes.",
|
|
3802
|
+
"group": "ungrouped",
|
|
3803
|
+
"private": false
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
"name": "rename <new-name>",
|
|
3807
|
+
"alias": "",
|
|
3808
|
+
"options": [
|
|
4069
3809
|
[
|
|
4070
|
-
"
|
|
4071
|
-
"
|
|
4072
|
-
"
|
|
4073
|
-
]
|
|
3810
|
+
"l",
|
|
3811
|
+
"lane-name <lane-name>",
|
|
3812
|
+
"the name of the lane to rename. if not specified, the current lane is used"
|
|
3813
|
+
]
|
|
3814
|
+
],
|
|
3815
|
+
"description": "change the lane-name locally",
|
|
3816
|
+
"extendedDescription": "the remote will be updated after the next \"bit export\" command",
|
|
3817
|
+
"group": "ungrouped",
|
|
3818
|
+
"private": false
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
"name": "diff [values...]",
|
|
3822
|
+
"alias": "",
|
|
3823
|
+
"options": [
|
|
4074
3824
|
[
|
|
4075
3825
|
"",
|
|
4076
|
-
"workspace-only",
|
|
4077
|
-
"checkout only the components in the workspace to the selected lane"
|
|
4078
|
-
],
|
|
4079
|
-
[
|
|
4080
|
-
"x",
|
|
4081
|
-
"skip-dependency-installation",
|
|
4082
|
-
"do not install dependencies of the imported components"
|
|
4083
|
-
],
|
|
4084
|
-
[
|
|
4085
|
-
"p",
|
|
4086
3826
|
"pattern <component-pattern>",
|
|
4087
|
-
"
|
|
4088
|
-
],
|
|
4089
|
-
[
|
|
4090
|
-
"n",
|
|
4091
|
-
"alias <string>",
|
|
4092
|
-
"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"
|
|
4093
|
-
],
|
|
4094
|
-
[
|
|
4095
|
-
"j",
|
|
4096
|
-
"json",
|
|
4097
|
-
"return the output as JSON"
|
|
3827
|
+
"show lane-diff for components conforming to the specified component-pattern only\ncomponent-pattern format: 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."
|
|
4098
3828
|
]
|
|
4099
3829
|
],
|
|
4100
|
-
"description": "
|
|
4101
|
-
"extendedDescription": "",
|
|
3830
|
+
"description": "show diff between lanes",
|
|
3831
|
+
"extendedDescription": "bit lane diff => diff between the current lane and default lane. (only inside workspace).\nbit lane diff to => diff between the current lane (or default-lane when in scope) and \"to\" lane.\nbit lane diff from to => diff between \"from\" lane and \"to\" lane.",
|
|
4102
3832
|
"group": "ungrouped",
|
|
4103
3833
|
"private": true,
|
|
3834
|
+
"remoteOp": true,
|
|
3835
|
+
"skipWorkspace": true,
|
|
4104
3836
|
"arguments": [
|
|
4105
3837
|
{
|
|
4106
|
-
"name": "
|
|
4107
|
-
"description": "
|
|
3838
|
+
"name": "from",
|
|
3839
|
+
"description": "base lane for comparison"
|
|
3840
|
+
},
|
|
3841
|
+
{
|
|
3842
|
+
"name": "to",
|
|
3843
|
+
"description": "lane being compared to base lane"
|
|
4108
3844
|
}
|
|
4109
3845
|
]
|
|
4110
3846
|
},
|
|
4111
3847
|
{
|
|
4112
|
-
"name": "
|
|
3848
|
+
"name": "remove-readme [laneName]",
|
|
4113
3849
|
"alias": "",
|
|
4114
|
-
"options": [
|
|
4115
|
-
|
|
4116
|
-
"j",
|
|
4117
|
-
"json",
|
|
4118
|
-
"show the lane details in json format"
|
|
4119
|
-
],
|
|
4120
|
-
[
|
|
4121
|
-
"r",
|
|
4122
|
-
"remote",
|
|
4123
|
-
"show details of the remote head of the provided lane"
|
|
4124
|
-
]
|
|
4125
|
-
],
|
|
4126
|
-
"description": "show lane details. if no lane specified, show the current lane",
|
|
3850
|
+
"options": [],
|
|
3851
|
+
"description": "DEPRECATED (only use it if you have used add-readme and want to undo it). remove lane readme component",
|
|
4127
3852
|
"extendedDescription": "",
|
|
4128
3853
|
"group": "ungrouped",
|
|
4129
3854
|
"private": false,
|
|
4130
|
-
"
|
|
4131
|
-
"skipWorkspace": true
|
|
3855
|
+
"skipWorkspace": false
|
|
4132
3856
|
},
|
|
4133
3857
|
{
|
|
4134
|
-
"name": "
|
|
3858
|
+
"name": "import <lane>",
|
|
4135
3859
|
"alias": "",
|
|
4136
3860
|
"options": [
|
|
4137
3861
|
[
|
|
4138
|
-
"
|
|
4139
|
-
"
|
|
4140
|
-
"
|
|
4141
|
-
],
|
|
4142
|
-
[
|
|
4143
|
-
"",
|
|
4144
|
-
"remote-scope <scope-name>",
|
|
4145
|
-
"DEPRECATED. use --scope"
|
|
4146
|
-
],
|
|
4147
|
-
[
|
|
4148
|
-
"",
|
|
4149
|
-
"alias <name>",
|
|
4150
|
-
"a local alias to refer to this lane, defaults to the `<lane-name>` (can be added later with \"bit lane alias\")"
|
|
3862
|
+
"x",
|
|
3863
|
+
"skip-dependency-installation",
|
|
3864
|
+
"do not install dependencies of the imported components"
|
|
4151
3865
|
],
|
|
4152
3866
|
[
|
|
4153
|
-
"",
|
|
4154
|
-
"
|
|
4155
|
-
"
|
|
3867
|
+
"p",
|
|
3868
|
+
"pattern <component-pattern>",
|
|
3869
|
+
"import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty"
|
|
4156
3870
|
]
|
|
4157
3871
|
],
|
|
4158
|
-
"description": "
|
|
4159
|
-
"extendedDescription": "
|
|
3872
|
+
"description": "import a remote lane to your workspace and switch to that lane",
|
|
3873
|
+
"extendedDescription": "",
|
|
4160
3874
|
"group": "ungrouped",
|
|
4161
3875
|
"private": false,
|
|
4162
3876
|
"arguments": [
|
|
4163
3877
|
{
|
|
4164
|
-
"name": "lane
|
|
4165
|
-
"description": "the
|
|
3878
|
+
"name": "lane",
|
|
3879
|
+
"description": "the remote lane name"
|
|
4166
3880
|
}
|
|
4167
3881
|
]
|
|
4168
3882
|
},
|
|
4169
3883
|
{
|
|
4170
|
-
"name": "remove <
|
|
4171
|
-
"alias": "",
|
|
3884
|
+
"name": "remove-comp <component-pattern>",
|
|
3885
|
+
"alias": "rc",
|
|
4172
3886
|
"options": [
|
|
4173
3887
|
[
|
|
4174
|
-
"
|
|
4175
|
-
"
|
|
4176
|
-
"
|
|
4177
|
-
],
|
|
4178
|
-
[
|
|
4179
|
-
"f",
|
|
4180
|
-
"force",
|
|
4181
|
-
"removes/deletes the lane even when the lane is not yet merged to main"
|
|
3888
|
+
"",
|
|
3889
|
+
"workspace-only",
|
|
3890
|
+
"do not mark the components as removed from the lane. instead, remove them from the workspace only"
|
|
4182
3891
|
],
|
|
4183
3892
|
[
|
|
4184
|
-
"
|
|
4185
|
-
"
|
|
4186
|
-
"
|
|
3893
|
+
"",
|
|
3894
|
+
"update-main",
|
|
3895
|
+
"EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main"
|
|
4187
3896
|
]
|
|
4188
3897
|
],
|
|
4189
|
-
"description": "remove
|
|
3898
|
+
"description": "DEPRECATED. remove components when on a lane",
|
|
4190
3899
|
"extendedDescription": "",
|
|
4191
3900
|
"group": "collaborate",
|
|
4192
3901
|
"private": false,
|
|
4193
3902
|
"arguments": [
|
|
4194
3903
|
{
|
|
4195
|
-
"name": "
|
|
4196
|
-
"description": "
|
|
3904
|
+
"name": "component-pattern",
|
|
3905
|
+
"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."
|
|
4197
3906
|
}
|
|
4198
3907
|
]
|
|
4199
3908
|
},
|
|
4200
3909
|
{
|
|
4201
|
-
"name": "
|
|
3910
|
+
"name": "fetch [lane-id]",
|
|
4202
3911
|
"alias": "",
|
|
4203
3912
|
"options": [
|
|
4204
3913
|
[
|
|
4205
|
-
"
|
|
4206
|
-
"
|
|
4207
|
-
"
|
|
3914
|
+
"a",
|
|
3915
|
+
"all",
|
|
3916
|
+
"fetch all remote lanes"
|
|
4208
3917
|
]
|
|
4209
3918
|
],
|
|
4210
|
-
"description": "
|
|
4211
|
-
"extendedDescription": "
|
|
3919
|
+
"description": "fetch component objects from lanes. if no lane-id is provided, it fetches from the current lane",
|
|
3920
|
+
"extendedDescription": "note, it does not save the remote lanes objects locally, only the refs",
|
|
4212
3921
|
"group": "ungrouped",
|
|
4213
3922
|
"private": false
|
|
4214
3923
|
},
|
|
4215
3924
|
{
|
|
4216
|
-
"name": "
|
|
3925
|
+
"name": "eject <component-pattern>",
|
|
4217
3926
|
"alias": "",
|
|
4218
3927
|
"options": [],
|
|
4219
|
-
"description": "
|
|
4220
|
-
"extendedDescription": "
|
|
3928
|
+
"description": "delete a component from the lane and install it as a package from main",
|
|
3929
|
+
"extendedDescription": "NOTE: unlike \"bit eject\" on main, this command doesn't only remove the component from the\nworkspace, but also mark it as deleted from the lane, so it won't be merged later on.",
|
|
4221
3930
|
"group": "ungrouped",
|
|
4222
|
-
"private": false
|
|
3931
|
+
"private": false,
|
|
3932
|
+
"arguments": [
|
|
3933
|
+
{
|
|
3934
|
+
"name": "component-pattern",
|
|
3935
|
+
"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."
|
|
3936
|
+
}
|
|
3937
|
+
]
|
|
4223
3938
|
},
|
|
4224
3939
|
{
|
|
4225
|
-
"name": "
|
|
3940
|
+
"name": "history [lane-name]",
|
|
4226
3941
|
"alias": "",
|
|
4227
3942
|
"options": [
|
|
4228
3943
|
[
|
|
4229
|
-
"
|
|
4230
|
-
"
|
|
4231
|
-
"
|
|
3944
|
+
"",
|
|
3945
|
+
"id <string>",
|
|
3946
|
+
"show a specific history item"
|
|
4232
3947
|
]
|
|
4233
3948
|
],
|
|
4234
|
-
"description": "
|
|
4235
|
-
"extendedDescription": "
|
|
3949
|
+
"description": "EXPERIMENTAL. show lane history, default to the current lane",
|
|
3950
|
+
"extendedDescription": "",
|
|
4236
3951
|
"group": "ungrouped",
|
|
4237
3952
|
"private": false
|
|
4238
3953
|
},
|
|
4239
3954
|
{
|
|
4240
|
-
"name": "diff
|
|
3955
|
+
"name": "history-diff <from-history-id> <to-history-id>",
|
|
4241
3956
|
"alias": "",
|
|
4242
3957
|
"options": [
|
|
3958
|
+
[
|
|
3959
|
+
"l",
|
|
3960
|
+
"lane <lane-name>",
|
|
3961
|
+
"the name of the lane to diff. if not specified, the current lane is used"
|
|
3962
|
+
],
|
|
4243
3963
|
[
|
|
4244
3964
|
"",
|
|
4245
3965
|
"pattern <component-pattern>",
|
|
4246
3966
|
"show lane-diff for components conforming to the specified component-pattern only\ncomponent-pattern format: 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."
|
|
4247
3967
|
]
|
|
4248
3968
|
],
|
|
4249
|
-
"description": "show diff between
|
|
4250
|
-
"extendedDescription": "
|
|
3969
|
+
"description": "EXPERIMENTAL. show diff between two lane-history ids",
|
|
3970
|
+
"extendedDescription": "run \"bit lane history\" to find these history-ids",
|
|
4251
3971
|
"group": "ungrouped",
|
|
4252
|
-
"private":
|
|
4253
|
-
|
|
4254
|
-
|
|
3972
|
+
"private": false
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"name": "checkout <history-id>",
|
|
3976
|
+
"alias": "",
|
|
3977
|
+
"options": [
|
|
3978
|
+
[
|
|
3979
|
+
"x",
|
|
3980
|
+
"skip-dependency-installation",
|
|
3981
|
+
"do not install dependencies of the checked out components"
|
|
3982
|
+
]
|
|
3983
|
+
],
|
|
3984
|
+
"description": "EXPERIMENTAL. checkout to a previous history of the current lane. see also \"bit lane revert\"",
|
|
3985
|
+
"extendedDescription": "",
|
|
3986
|
+
"group": "ungrouped",
|
|
3987
|
+
"private": false,
|
|
4255
3988
|
"arguments": [
|
|
4256
3989
|
{
|
|
4257
|
-
"name": "
|
|
4258
|
-
"description": "
|
|
4259
|
-
},
|
|
4260
|
-
{
|
|
4261
|
-
"name": "to",
|
|
4262
|
-
"description": "lane being compared to base lane"
|
|
3990
|
+
"name": "history-id",
|
|
3991
|
+
"description": "the history-id to checkout to. run \"bit lane history\" to list the ids"
|
|
4263
3992
|
}
|
|
4264
3993
|
]
|
|
4265
3994
|
},
|
|
4266
3995
|
{
|
|
4267
|
-
"name": "
|
|
3996
|
+
"name": "revert <history-id>",
|
|
4268
3997
|
"alias": "",
|
|
4269
|
-
"options": [
|
|
4270
|
-
|
|
4271
|
-
|
|
3998
|
+
"options": [
|
|
3999
|
+
[
|
|
4000
|
+
"x",
|
|
4001
|
+
"skip-dependency-installation",
|
|
4002
|
+
"do not install dependencies of the checked out components"
|
|
4003
|
+
]
|
|
4004
|
+
],
|
|
4005
|
+
"description": "EXPERIMENTAL. revert to a previous history of the current lane. see also \"bit lane checkout\"",
|
|
4006
|
+
"extendedDescription": "revert is similar to \"lane checkout\", but it keeps the versions and only change the files.\nchoose one or the other based on your needs.\nif you want to continue working on this lane and needs the changes from the history to be the head, then use \"lane revert\".\nif you want to fork the lane from a certain point in history, use \"lane checkout\" and create a new lane from it.",
|
|
4272
4007
|
"group": "ungrouped",
|
|
4273
4008
|
"private": false,
|
|
4274
|
-
"
|
|
4275
|
-
|
|
4009
|
+
"arguments": [
|
|
4010
|
+
{
|
|
4011
|
+
"name": "history-id",
|
|
4012
|
+
"description": "the history-id to checkout to. run \"bit lane history\" to list the ids"
|
|
4013
|
+
}
|
|
4014
|
+
]
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"name": "merge <lane> [pattern]",
|
|
4018
|
+
"alias": "",
|
|
4019
|
+
"options": [
|
|
4020
|
+
[
|
|
4021
|
+
"",
|
|
4022
|
+
"manual",
|
|
4023
|
+
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
4024
|
+
],
|
|
4025
|
+
[
|
|
4026
|
+
"r",
|
|
4027
|
+
"auto-merge-resolve <merge-strategy>",
|
|
4028
|
+
"in case of a merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
4029
|
+
],
|
|
4030
|
+
[
|
|
4031
|
+
"",
|
|
4032
|
+
"ours",
|
|
4033
|
+
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep local modifications"
|
|
4034
|
+
],
|
|
4035
|
+
[
|
|
4036
|
+
"",
|
|
4037
|
+
"theirs",
|
|
4038
|
+
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, override local with incoming changes"
|
|
4039
|
+
],
|
|
4040
|
+
[
|
|
4041
|
+
"",
|
|
4042
|
+
"workspace",
|
|
4043
|
+
"merge only lane components that are in the current workspace"
|
|
4044
|
+
],
|
|
4045
|
+
[
|
|
4046
|
+
"",
|
|
4047
|
+
"no-auto-snap",
|
|
4048
|
+
"do not auto snap after merge completed without conflicts of diverged components (see command description)"
|
|
4049
|
+
],
|
|
4050
|
+
[
|
|
4051
|
+
"",
|
|
4052
|
+
"no-snap",
|
|
4053
|
+
"do not pass snaps from the other lane even for non-diverged components (see command description)"
|
|
4054
|
+
],
|
|
4055
|
+
[
|
|
4056
|
+
"",
|
|
4057
|
+
"tag",
|
|
4058
|
+
"auto-tag all lane components after merging into main (or tag-merge in case of snap-merge)"
|
|
4059
|
+
],
|
|
4060
|
+
[
|
|
4061
|
+
"",
|
|
4062
|
+
"build",
|
|
4063
|
+
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
4064
|
+
],
|
|
4065
|
+
[
|
|
4066
|
+
"m",
|
|
4067
|
+
"message <message>",
|
|
4068
|
+
"override the default message for the auto snap"
|
|
4069
|
+
],
|
|
4070
|
+
[
|
|
4071
|
+
"",
|
|
4072
|
+
"keep-readme",
|
|
4073
|
+
"skip deleting the lane readme component after merging"
|
|
4074
|
+
],
|
|
4075
|
+
[
|
|
4076
|
+
"",
|
|
4077
|
+
"no-squash",
|
|
4078
|
+
"relevant for merging lanes into main, which by default squashes all lane snaps"
|
|
4079
|
+
],
|
|
4080
|
+
[
|
|
4081
|
+
"",
|
|
4082
|
+
"squash",
|
|
4083
|
+
"relevant for merging a lane into another non-main lane, which by default does not squash"
|
|
4084
|
+
],
|
|
4085
|
+
[
|
|
4086
|
+
"",
|
|
4087
|
+
"ignore-config-changes",
|
|
4088
|
+
"allow merging when components are modified due to config changes (such as dependencies) only and not files"
|
|
4089
|
+
],
|
|
4090
|
+
[
|
|
4091
|
+
"",
|
|
4092
|
+
"verbose",
|
|
4093
|
+
"show details of components that were not merged successfully"
|
|
4094
|
+
],
|
|
4095
|
+
[
|
|
4096
|
+
"x",
|
|
4097
|
+
"skip-dependency-installation",
|
|
4098
|
+
"do not install dependencies of the imported components"
|
|
4099
|
+
],
|
|
4100
|
+
[
|
|
4101
|
+
"",
|
|
4102
|
+
"skip-fetch",
|
|
4103
|
+
"use the local state of target-lane if exits locally, without updating it from the remote"
|
|
4104
|
+
],
|
|
4105
|
+
[
|
|
4106
|
+
"",
|
|
4107
|
+
"include-deps",
|
|
4108
|
+
"relevant for \"pattern\" and \"--workspace\". merge also dependencies of the specified components"
|
|
4109
|
+
],
|
|
4110
|
+
[
|
|
4111
|
+
"",
|
|
4112
|
+
"resolve-unrelated [merge-strategy]",
|
|
4113
|
+
"relevant when a component on a lane and the component on main have nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""
|
|
4114
|
+
],
|
|
4115
|
+
[
|
|
4116
|
+
"",
|
|
4117
|
+
"include-non-lane-comps",
|
|
4118
|
+
"DEPRECATED (this is now the default). when merging main, include workspace components that are not on the lane (by default only lane components are merged)"
|
|
4119
|
+
],
|
|
4120
|
+
[
|
|
4121
|
+
"",
|
|
4122
|
+
"exclude-non-lane-comps",
|
|
4123
|
+
"when merging main into a lane, exclude workspace components that are not on the lane (by default all workspace components are merged)"
|
|
4124
|
+
]
|
|
4125
|
+
],
|
|
4126
|
+
"description": "merge a local or a remote lane to the current lane",
|
|
4127
|
+
"extendedDescription": "by default, the provided lane will be fetched from the remote before merging.\nto merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag.\n\nwhen the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,\nthese components will be snap-merged to complete the merge. use \"no-auto-snap\" to opt-out, or \"tag\" to tag instead.\n\nwhen the components are not diverged in history, and the current lane is behind the merge candidate, the merge will\nsimply update the components and the heads according to the merge candidate.\nto opt-out, use \"--no-snap\", the components will be written as the merge candidate, and will be left as modified.\n\nin case a component in both ends don't share history (no snap is found in common), the merge will require \"--resolve-unrelated\" flag.\nthis flag keeps the history of one end and saves a reference to the other end. the decision of which end to keep is determined by the following:\n1. if the component exists on main, then the history linked to main will be kept.\nin this case, the strategy of \"--resolve-unrelated\" only determines which source-code to keep. it's not about the history.\n2. if the component doesn't exist on main, then by default, the history of the current lane will be kept.\nunless \"--resolve-unrelated\" is set to \"theirs\", in which case the history of the other lane will be kept.\n2. a. an edge case: if the component is deleted on the current lane, the strategy will always be \"theirs\".\nso then the history (and the source-code) of the other lane will be kept.\n",
|
|
4128
|
+
"private": true,
|
|
4129
|
+
"remoteOp": true,
|
|
4130
|
+
"arguments": [
|
|
4131
|
+
{
|
|
4132
|
+
"name": "lane",
|
|
4133
|
+
"description": "lane-name or full lane-id (if remote) to merge to the current lane"
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"name": "pattern",
|
|
4137
|
+
"description": "partially merge the lane - only components that match the specified component-pattern\nComponent pattern format: 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."
|
|
4138
|
+
}
|
|
4139
|
+
]
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
"name": "merge-abort",
|
|
4143
|
+
"alias": "",
|
|
4144
|
+
"options": [
|
|
4145
|
+
[
|
|
4146
|
+
"",
|
|
4147
|
+
"verbose",
|
|
4148
|
+
"show details of components that didn't need to be merged"
|
|
4149
|
+
],
|
|
4150
|
+
[
|
|
4151
|
+
"s",
|
|
4152
|
+
"silent",
|
|
4153
|
+
"skip confirmation"
|
|
4154
|
+
],
|
|
4155
|
+
[
|
|
4156
|
+
"x",
|
|
4157
|
+
"skip-dependency-installation",
|
|
4158
|
+
"do not install packages of the imported components"
|
|
4159
|
+
]
|
|
4160
|
+
],
|
|
4161
|
+
"description": "abort the recent lane-merge. revert the lane object and checkout accordingly",
|
|
4162
|
+
"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",
|
|
4163
|
+
"private": true,
|
|
4164
|
+
"remoteOp": true
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"name": "merge-move <new-lane-name>",
|
|
4168
|
+
"alias": "",
|
|
4169
|
+
"options": [
|
|
4170
|
+
[
|
|
4171
|
+
"s",
|
|
4172
|
+
"scope <scope-name>",
|
|
4173
|
+
"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\")"
|
|
4174
|
+
]
|
|
4175
|
+
],
|
|
4176
|
+
"description": "EXPERIMENT. move the current merge state into a new lane. the current lane will be reset",
|
|
4177
|
+
"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.",
|
|
4178
|
+
"remoteOp": true
|
|
4179
|
+
}
|
|
4180
|
+
]
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
"name": "switch <lane>",
|
|
4184
|
+
"alias": "",
|
|
4185
|
+
"options": [
|
|
4186
|
+
[
|
|
4187
|
+
"h",
|
|
4188
|
+
"head",
|
|
4189
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4190
|
+
],
|
|
4191
|
+
[
|
|
4192
|
+
"r",
|
|
4193
|
+
"auto-merge-resolve <merge-strategy>",
|
|
4194
|
+
"merge local changes with the checked out version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
4195
|
+
],
|
|
4196
|
+
[
|
|
4197
|
+
"",
|
|
4198
|
+
"force-ours",
|
|
4199
|
+
"do not merge, preserve local files as is"
|
|
4200
|
+
],
|
|
4201
|
+
[
|
|
4202
|
+
"",
|
|
4203
|
+
"force-theirs",
|
|
4204
|
+
"do not merge, just overwrite with incoming files"
|
|
4205
|
+
],
|
|
4206
|
+
[
|
|
4207
|
+
"a",
|
|
4208
|
+
"get-all",
|
|
4209
|
+
"DEPRECATED. this is currently the default behavior"
|
|
4210
|
+
],
|
|
4211
|
+
[
|
|
4212
|
+
"",
|
|
4213
|
+
"workspace-only",
|
|
4214
|
+
"checkout only the components in the workspace to the selected lane"
|
|
4215
|
+
],
|
|
4216
|
+
[
|
|
4217
|
+
"x",
|
|
4218
|
+
"skip-dependency-installation",
|
|
4219
|
+
"do not install dependencies of the imported components"
|
|
4220
|
+
],
|
|
4221
|
+
[
|
|
4222
|
+
"p",
|
|
4223
|
+
"pattern <component-pattern>",
|
|
4224
|
+
"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."
|
|
4225
|
+
],
|
|
4226
|
+
[
|
|
4227
|
+
"n",
|
|
4228
|
+
"alias <string>",
|
|
4229
|
+
"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"
|
|
4230
|
+
],
|
|
4231
|
+
[
|
|
4232
|
+
"j",
|
|
4233
|
+
"json",
|
|
4234
|
+
"return the output as JSON"
|
|
4235
|
+
]
|
|
4236
|
+
],
|
|
4237
|
+
"description": "switch to the specified lane",
|
|
4238
|
+
"extendedDescription": "",
|
|
4239
|
+
"group": "ungrouped",
|
|
4240
|
+
"private": true,
|
|
4241
|
+
"arguments": [
|
|
4242
|
+
{
|
|
4243
|
+
"name": "lane",
|
|
4244
|
+
"description": "lane-name or lane-id (if lane is not local) to switch to"
|
|
4245
|
+
}
|
|
4246
|
+
]
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
"name": "cat-lane-history <lane-name>",
|
|
4250
|
+
"alias": "clh",
|
|
4251
|
+
"options": [],
|
|
4252
|
+
"description": "cat lane-history object by lane-name",
|
|
4253
|
+
"extendedDescription": "",
|
|
4254
|
+
"group": "ungrouped",
|
|
4255
|
+
"private": true
|
|
4256
|
+
},
|
|
4257
|
+
{
|
|
4258
|
+
"name": "apply <data>",
|
|
4259
|
+
"alias": "",
|
|
4260
|
+
"options": [
|
|
4261
|
+
[
|
|
4262
|
+
"",
|
|
4263
|
+
"push",
|
|
4264
|
+
"export the updated objects to the original scopes once done"
|
|
4265
|
+
],
|
|
4266
|
+
[
|
|
4267
|
+
"m",
|
|
4268
|
+
"message <message>",
|
|
4269
|
+
"log message describing the latest changes"
|
|
4270
|
+
],
|
|
4271
|
+
[
|
|
4272
|
+
"",
|
|
4273
|
+
"lane <lane-id>",
|
|
4274
|
+
"fetch the components from the given lane"
|
|
4275
|
+
],
|
|
4276
|
+
[
|
|
4277
|
+
"",
|
|
4278
|
+
"build",
|
|
4279
|
+
"run the build pipeline"
|
|
4280
|
+
],
|
|
4281
|
+
[
|
|
4282
|
+
"",
|
|
4283
|
+
"skip-tests",
|
|
4284
|
+
"skip running component tests during snap process"
|
|
4285
|
+
],
|
|
4286
|
+
[
|
|
4287
|
+
"",
|
|
4288
|
+
"disable-snap-pipeline",
|
|
4289
|
+
"skip the snap pipeline"
|
|
4290
|
+
],
|
|
4291
|
+
[
|
|
4292
|
+
"",
|
|
4293
|
+
"ignore-build-errors",
|
|
4294
|
+
"run the snap pipeline although the build pipeline failed"
|
|
4295
|
+
],
|
|
4296
|
+
[
|
|
4297
|
+
"",
|
|
4298
|
+
"rebuild-deps-graph",
|
|
4299
|
+
"do not reuse the saved dependencies graph, instead build it from scratch"
|
|
4300
|
+
],
|
|
4301
|
+
[
|
|
4302
|
+
"i",
|
|
4303
|
+
"ignore-issues [issues]",
|
|
4304
|
+
"ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingManuallyConfiguredPackages, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage, MergeConfigHasConflict, NonLoadedEnv, ExternalEnvWithoutVersion, RemovedDependencies, RemovedEnv, DeprecatedDependencies, SelfReference, ImportFromDirectory]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
|
|
4305
|
+
],
|
|
4306
|
+
[
|
|
4307
|
+
"",
|
|
4308
|
+
"tag",
|
|
4309
|
+
"make a tag instead of a snap"
|
|
4310
|
+
],
|
|
4311
|
+
[
|
|
4312
|
+
"",
|
|
4313
|
+
"stream",
|
|
4314
|
+
"relevant for --json only. stream loader as json strings"
|
|
4315
|
+
],
|
|
4316
|
+
[
|
|
4317
|
+
"j",
|
|
4318
|
+
"json",
|
|
4319
|
+
"output as json format"
|
|
4320
|
+
],
|
|
4321
|
+
[
|
|
4322
|
+
"",
|
|
4323
|
+
"snap",
|
|
4324
|
+
"snap the components. default to keep them new"
|
|
4325
|
+
],
|
|
4326
|
+
[
|
|
4327
|
+
"",
|
|
4328
|
+
"stream",
|
|
4329
|
+
"relevant for --json only. stream loader as json strings"
|
|
4330
|
+
]
|
|
4331
|
+
],
|
|
4332
|
+
"description": "apply files/config to components",
|
|
4333
|
+
"extendedDescription": "the input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies?: string[]; // dependencies include versions. for components use component-id. e.g. [teambit.compilation/compiler@1.0.0, lodash@4.17.21]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n files?: Array<{path: string, content: string}>; // replace content of specified source-files. the content is base64 encoded.\n isNew?: boolean; // if it's new, it'll be generated from the given files. otherwise, it'll be fetched from the scope and updated.\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{ // new dependencies (components and packages) to add.\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[]; // component-id (for components) or package-name (for packages) to remove from the dependencies.\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n version?: string; // relevant when passing \"--tag\". optionally, specify the semver to tag. default to \"patch\".\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'",
|
|
4334
|
+
"group": "ungrouped",
|
|
4335
|
+
"private": true
|
|
4336
|
+
},
|
|
4337
|
+
{
|
|
4338
|
+
"name": "doctor [diagnosis-name]",
|
|
4339
|
+
"alias": "",
|
|
4340
|
+
"options": [
|
|
4341
|
+
[
|
|
4342
|
+
"j",
|
|
4343
|
+
"json",
|
|
4344
|
+
"return diagnoses in json format"
|
|
4345
|
+
],
|
|
4346
|
+
[
|
|
4347
|
+
"",
|
|
4348
|
+
"list",
|
|
4349
|
+
"list all available diagnoses"
|
|
4350
|
+
],
|
|
4351
|
+
[
|
|
4352
|
+
"s",
|
|
4353
|
+
"save [filePath]",
|
|
4354
|
+
"save diagnoses to a file"
|
|
4355
|
+
],
|
|
4356
|
+
[
|
|
4357
|
+
"a",
|
|
4358
|
+
"archive [filePath]",
|
|
4359
|
+
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
4360
|
+
],
|
|
4361
|
+
[
|
|
4362
|
+
"n",
|
|
4363
|
+
"include-node-modules",
|
|
4364
|
+
"relevant for --archive. include node_modules in the archive file"
|
|
4365
|
+
],
|
|
4366
|
+
[
|
|
4367
|
+
"p",
|
|
4368
|
+
"include-public",
|
|
4369
|
+
"relevant for --archive. include public folder in the archive file"
|
|
4370
|
+
],
|
|
4371
|
+
[
|
|
4372
|
+
"e",
|
|
4373
|
+
"exclude-local-scope",
|
|
4374
|
+
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
4375
|
+
]
|
|
4376
|
+
],
|
|
4377
|
+
"description": "diagnose a bit workspace",
|
|
4378
|
+
"extendedDescription": "",
|
|
4379
|
+
"group": "general",
|
|
4380
|
+
"private": false
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
"name": "init [path]",
|
|
4384
|
+
"alias": "",
|
|
4385
|
+
"options": [
|
|
4386
|
+
[
|
|
4387
|
+
"n",
|
|
4388
|
+
"name <workspace-name>",
|
|
4389
|
+
"name of the workspace"
|
|
4390
|
+
],
|
|
4391
|
+
[
|
|
4392
|
+
"",
|
|
4393
|
+
"generator <env-id>",
|
|
4394
|
+
"for multiple, separate by a comma. add env-ids into the generators field in the workspace config for future \"bit create\" templates"
|
|
4395
|
+
],
|
|
4396
|
+
[
|
|
4397
|
+
"T",
|
|
4398
|
+
"standalone",
|
|
4399
|
+
"do not nest component store within .git directory and do not write config data inside package.json"
|
|
4400
|
+
],
|
|
4401
|
+
[
|
|
4402
|
+
"",
|
|
4403
|
+
"no-package-json",
|
|
4404
|
+
"do not generate package.json"
|
|
4405
|
+
],
|
|
4406
|
+
[
|
|
4407
|
+
"r",
|
|
4408
|
+
"reset",
|
|
4409
|
+
"write missing or damaged Bit files"
|
|
4410
|
+
],
|
|
4411
|
+
[
|
|
4412
|
+
"",
|
|
4413
|
+
"reset-new",
|
|
4414
|
+
"reset .bitmap file as if the components were newly added and remove all model data (objects)"
|
|
4415
|
+
],
|
|
4416
|
+
[
|
|
4417
|
+
"",
|
|
4418
|
+
"reset-lane-new",
|
|
4419
|
+
"same as reset-new, but it only resets components belong to lanes. main components are left intact"
|
|
4420
|
+
],
|
|
4421
|
+
[
|
|
4422
|
+
"",
|
|
4423
|
+
"reset-hard",
|
|
4424
|
+
"delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-starting workspace from scratch"
|
|
4425
|
+
],
|
|
4426
|
+
[
|
|
4427
|
+
"",
|
|
4428
|
+
"reset-scope",
|
|
4429
|
+
"removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intact"
|
|
4430
|
+
],
|
|
4431
|
+
[
|
|
4432
|
+
"d",
|
|
4433
|
+
"default-directory <default-directory>",
|
|
4434
|
+
"set the default directory pattern to import/create components into"
|
|
4435
|
+
],
|
|
4436
|
+
[
|
|
4437
|
+
"",
|
|
4438
|
+
"default-scope <default-scope>",
|
|
4439
|
+
"set the default scope for components in the workspace"
|
|
4440
|
+
],
|
|
4441
|
+
[
|
|
4442
|
+
"f",
|
|
4443
|
+
"force",
|
|
4444
|
+
"force workspace initialization without clearing local objects"
|
|
4445
|
+
],
|
|
4446
|
+
[
|
|
4447
|
+
"b",
|
|
4448
|
+
"bare [name]",
|
|
4449
|
+
"initialize an empty bit bare scope"
|
|
4450
|
+
],
|
|
4451
|
+
[
|
|
4452
|
+
"s",
|
|
4453
|
+
"shared <groupname>",
|
|
4454
|
+
"add group write permissions to a scope properly"
|
|
4455
|
+
]
|
|
4456
|
+
],
|
|
4457
|
+
"description": "create or reinitialize an empty workspace",
|
|
4458
|
+
"extendedDescription": "if the current directory is already a workspace, it validates that bit files are correct and rewrite them if needed.",
|
|
4459
|
+
"group": "start",
|
|
4460
|
+
"private": false,
|
|
4461
|
+
"skipWorkspace": true
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
"name": "version-history <sub-command>",
|
|
4465
|
+
"alias": "vh",
|
|
4466
|
+
"options": [],
|
|
4467
|
+
"description": "manage the version-history of components",
|
|
4468
|
+
"extendedDescription": "",
|
|
4469
|
+
"group": "info",
|
|
4470
|
+
"private": false,
|
|
4471
|
+
"commands": [
|
|
4276
4472
|
{
|
|
4277
|
-
"name": "
|
|
4473
|
+
"name": "graph <component-id>",
|
|
4278
4474
|
"alias": "",
|
|
4279
4475
|
"options": [
|
|
4280
4476
|
[
|
|
4281
|
-
"
|
|
4282
|
-
"
|
|
4283
|
-
"
|
|
4477
|
+
"s",
|
|
4478
|
+
"short-hash",
|
|
4479
|
+
"show only 9 chars of the hash"
|
|
4284
4480
|
],
|
|
4285
4481
|
[
|
|
4286
|
-
"
|
|
4287
|
-
"
|
|
4288
|
-
"
|
|
4289
|
-
]
|
|
4290
|
-
],
|
|
4291
|
-
"description": "import a remote lane to your workspace and switch to that lane",
|
|
4292
|
-
"extendedDescription": "",
|
|
4293
|
-
"group": "ungrouped",
|
|
4294
|
-
"private": false,
|
|
4295
|
-
"arguments": [
|
|
4296
|
-
{
|
|
4297
|
-
"name": "lane",
|
|
4298
|
-
"description": "the remote lane name"
|
|
4299
|
-
}
|
|
4300
|
-
]
|
|
4301
|
-
},
|
|
4302
|
-
{
|
|
4303
|
-
"name": "remove-comp <component-pattern>",
|
|
4304
|
-
"alias": "rc",
|
|
4305
|
-
"options": [
|
|
4306
|
-
[
|
|
4307
|
-
"",
|
|
4308
|
-
"workspace-only",
|
|
4309
|
-
"do not mark the components as removed from the lane. instead, remove them from the workspace only"
|
|
4482
|
+
"m",
|
|
4483
|
+
"mark <string>",
|
|
4484
|
+
"paint the given node-ids in the graph in red color, for multiple, separate by commas"
|
|
4310
4485
|
],
|
|
4311
4486
|
[
|
|
4312
4487
|
"",
|
|
4313
|
-
"
|
|
4314
|
-
"
|
|
4315
|
-
]
|
|
4316
|
-
],
|
|
4317
|
-
"description": "DEPRECATED. remove components when on a lane",
|
|
4318
|
-
"extendedDescription": "",
|
|
4319
|
-
"group": "collaborate",
|
|
4320
|
-
"private": false,
|
|
4321
|
-
"arguments": [
|
|
4322
|
-
{
|
|
4323
|
-
"name": "component-pattern",
|
|
4324
|
-
"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."
|
|
4325
|
-
}
|
|
4326
|
-
]
|
|
4327
|
-
},
|
|
4328
|
-
{
|
|
4329
|
-
"name": "fetch [lane-id]",
|
|
4330
|
-
"alias": "",
|
|
4331
|
-
"options": [
|
|
4332
|
-
[
|
|
4333
|
-
"a",
|
|
4334
|
-
"all",
|
|
4335
|
-
"fetch all remote lanes"
|
|
4336
|
-
]
|
|
4337
|
-
],
|
|
4338
|
-
"description": "fetch component objects from lanes. if no lane-id is provided, it fetches from the current lane",
|
|
4339
|
-
"extendedDescription": "note, it does not save the remote lanes objects locally, only the refs",
|
|
4340
|
-
"group": "ungrouped",
|
|
4341
|
-
"private": false
|
|
4342
|
-
},
|
|
4343
|
-
{
|
|
4344
|
-
"name": "eject <component-pattern>",
|
|
4345
|
-
"alias": "",
|
|
4346
|
-
"options": [],
|
|
4347
|
-
"description": "delete a component from the lane and install it as a package from main",
|
|
4348
|
-
"extendedDescription": "NOTE: unlike \"bit eject\" on main, this command doesn't only remove the component from the\nworkspace, but also mark it as deleted from the lane, so it won't be merged later on.",
|
|
4349
|
-
"group": "ungrouped",
|
|
4350
|
-
"private": false,
|
|
4351
|
-
"arguments": [
|
|
4352
|
-
{
|
|
4353
|
-
"name": "component-pattern",
|
|
4354
|
-
"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."
|
|
4355
|
-
}
|
|
4356
|
-
]
|
|
4357
|
-
},
|
|
4358
|
-
{
|
|
4359
|
-
"name": "history [lane-name]",
|
|
4360
|
-
"alias": "",
|
|
4361
|
-
"options": [
|
|
4488
|
+
"png",
|
|
4489
|
+
"save the graph as a png file instead of svg. requires \"graphviz\" to be installed"
|
|
4490
|
+
],
|
|
4362
4491
|
[
|
|
4363
|
-
"",
|
|
4364
|
-
"
|
|
4365
|
-
"
|
|
4492
|
+
"l",
|
|
4493
|
+
"layout <name>",
|
|
4494
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
4366
4495
|
]
|
|
4367
4496
|
],
|
|
4368
|
-
"description": "
|
|
4497
|
+
"description": "generate a graph of the version history of a component and save as an SVG file",
|
|
4369
4498
|
"extendedDescription": "",
|
|
4370
|
-
"group": "
|
|
4499
|
+
"group": "info",
|
|
4371
4500
|
"private": false
|
|
4372
4501
|
},
|
|
4373
4502
|
{
|
|
4374
|
-
"name": "
|
|
4375
|
-
"alias": "",
|
|
4503
|
+
"name": "show <component-id>",
|
|
4504
|
+
"alias": "vh",
|
|
4376
4505
|
"options": [
|
|
4377
4506
|
[
|
|
4378
|
-
"
|
|
4379
|
-
"
|
|
4380
|
-
"
|
|
4507
|
+
"s",
|
|
4508
|
+
"short-hash",
|
|
4509
|
+
"show only 9 chars of the hash"
|
|
4381
4510
|
],
|
|
4382
4511
|
[
|
|
4383
|
-
"",
|
|
4384
|
-
"
|
|
4385
|
-
"
|
|
4386
|
-
]
|
|
4387
|
-
],
|
|
4388
|
-
"description": "EXPERIMENTAL. show diff between two lane-history ids",
|
|
4389
|
-
"extendedDescription": "run \"bit lane history\" to find these history-ids",
|
|
4390
|
-
"group": "ungrouped",
|
|
4391
|
-
"private": false
|
|
4392
|
-
},
|
|
4393
|
-
{
|
|
4394
|
-
"name": "checkout <history-id>",
|
|
4395
|
-
"alias": "",
|
|
4396
|
-
"options": [
|
|
4397
|
-
[
|
|
4398
|
-
"x",
|
|
4399
|
-
"skip-dependency-installation",
|
|
4400
|
-
"do not install dependencies of the checked out components"
|
|
4512
|
+
"j",
|
|
4513
|
+
"json",
|
|
4514
|
+
"json format"
|
|
4401
4515
|
]
|
|
4402
4516
|
],
|
|
4403
|
-
"description": "
|
|
4517
|
+
"description": "show the version-history of a component",
|
|
4404
4518
|
"extendedDescription": "",
|
|
4405
|
-
"group": "
|
|
4406
|
-
"private": false
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
]
|
|
4413
|
-
},
|
|
4414
|
-
{
|
|
4415
|
-
"name": "revert <history-id>",
|
|
4416
|
-
"alias": "",
|
|
4417
|
-
"options": [
|
|
4418
|
-
[
|
|
4419
|
-
"x",
|
|
4420
|
-
"skip-dependency-installation",
|
|
4421
|
-
"do not install dependencies of the checked out components"
|
|
4422
|
-
]
|
|
4423
|
-
],
|
|
4424
|
-
"description": "EXPERIMENTAL. revert to a previous history of the current lane. see also \"bit lane checkout\"",
|
|
4425
|
-
"extendedDescription": "revert is similar to \"lane checkout\", but it keeps the versions and only change the files.\nchoose one or the other based on your needs.\nif you want to continue working on this lane and needs the changes from the history to be the head, then use \"lane revert\".\nif you want to fork the lane from a certain point in history, use \"lane checkout\" and create a new lane from it.",
|
|
4426
|
-
"group": "ungrouped",
|
|
4427
|
-
"private": false,
|
|
4428
|
-
"arguments": [
|
|
4429
|
-
{
|
|
4430
|
-
"name": "history-id",
|
|
4431
|
-
"description": "the history-id to checkout to. run \"bit lane history\" to list the ids"
|
|
4432
|
-
}
|
|
4433
|
-
]
|
|
4434
|
-
},
|
|
4435
|
-
{
|
|
4436
|
-
"name": "merge <lane> [pattern]",
|
|
4437
|
-
"alias": "",
|
|
4438
|
-
"options": [
|
|
4439
|
-
[
|
|
4440
|
-
"",
|
|
4441
|
-
"manual",
|
|
4442
|
-
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
4443
|
-
],
|
|
4444
|
-
[
|
|
4445
|
-
"r",
|
|
4446
|
-
"auto-merge-resolve <merge-strategy>",
|
|
4447
|
-
"in case of a merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
4448
|
-
],
|
|
4449
|
-
[
|
|
4450
|
-
"",
|
|
4451
|
-
"ours",
|
|
4452
|
-
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep local modifications"
|
|
4453
|
-
],
|
|
4454
|
-
[
|
|
4455
|
-
"",
|
|
4456
|
-
"theirs",
|
|
4457
|
-
"DEPRECATED. use --auto-merge-resolve. in case of a conflict, override local with incoming changes"
|
|
4458
|
-
],
|
|
4459
|
-
[
|
|
4460
|
-
"",
|
|
4461
|
-
"workspace",
|
|
4462
|
-
"merge only lane components that are in the current workspace"
|
|
4463
|
-
],
|
|
4464
|
-
[
|
|
4465
|
-
"",
|
|
4466
|
-
"no-auto-snap",
|
|
4467
|
-
"do not auto snap after merge completed without conflicts of diverged components (see command description)"
|
|
4468
|
-
],
|
|
4469
|
-
[
|
|
4470
|
-
"",
|
|
4471
|
-
"no-snap",
|
|
4472
|
-
"do not pass snaps from the other lane even for non-diverged components (see command description)"
|
|
4473
|
-
],
|
|
4474
|
-
[
|
|
4475
|
-
"",
|
|
4476
|
-
"tag",
|
|
4477
|
-
"auto-tag all lane components after merging into main (or tag-merge in case of snap-merge)"
|
|
4478
|
-
],
|
|
4479
|
-
[
|
|
4480
|
-
"",
|
|
4481
|
-
"build",
|
|
4482
|
-
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
4483
|
-
],
|
|
4484
|
-
[
|
|
4485
|
-
"m",
|
|
4486
|
-
"message <message>",
|
|
4487
|
-
"override the default message for the auto snap"
|
|
4488
|
-
],
|
|
4489
|
-
[
|
|
4490
|
-
"",
|
|
4491
|
-
"keep-readme",
|
|
4492
|
-
"skip deleting the lane readme component after merging"
|
|
4493
|
-
],
|
|
4494
|
-
[
|
|
4495
|
-
"",
|
|
4496
|
-
"no-squash",
|
|
4497
|
-
"relevant for merging lanes into main, which by default squashes all lane snaps"
|
|
4498
|
-
],
|
|
4499
|
-
[
|
|
4500
|
-
"",
|
|
4501
|
-
"squash",
|
|
4502
|
-
"relevant for merging a lane into another non-main lane, which by default does not squash"
|
|
4503
|
-
],
|
|
4504
|
-
[
|
|
4505
|
-
"",
|
|
4506
|
-
"ignore-config-changes",
|
|
4507
|
-
"allow merging when components are modified due to config changes (such as dependencies) only and not files"
|
|
4508
|
-
],
|
|
4509
|
-
[
|
|
4510
|
-
"",
|
|
4511
|
-
"verbose",
|
|
4512
|
-
"show details of components that were not merged successfully"
|
|
4513
|
-
],
|
|
4514
|
-
[
|
|
4515
|
-
"x",
|
|
4516
|
-
"skip-dependency-installation",
|
|
4517
|
-
"do not install dependencies of the imported components"
|
|
4518
|
-
],
|
|
4519
|
-
[
|
|
4520
|
-
"",
|
|
4521
|
-
"skip-fetch",
|
|
4522
|
-
"use the local state of target-lane if exits locally, without updating it from the remote"
|
|
4523
|
-
],
|
|
4519
|
+
"group": "info",
|
|
4520
|
+
"private": false
|
|
4521
|
+
},
|
|
4522
|
+
{
|
|
4523
|
+
"name": "build <component-pattern>",
|
|
4524
|
+
"alias": "",
|
|
4525
|
+
"options": [
|
|
4524
4526
|
[
|
|
4525
4527
|
"",
|
|
4526
|
-
"
|
|
4527
|
-
"
|
|
4528
|
+
"from-snap <snap>",
|
|
4529
|
+
"build the version history from a specific snap. the pattern must be a single component-id"
|
|
4528
4530
|
],
|
|
4529
4531
|
[
|
|
4530
4532
|
"",
|
|
4531
|
-
"
|
|
4532
|
-
"
|
|
4533
|
+
"from-all-lanes",
|
|
4534
|
+
"build the version history from the heads of all lanes that include this component"
|
|
4533
4535
|
],
|
|
4534
4536
|
[
|
|
4535
4537
|
"",
|
|
4536
|
-
"
|
|
4537
|
-
"
|
|
4538
|
+
"delete-existing",
|
|
4539
|
+
"delete the existing version history before building it"
|
|
4538
4540
|
],
|
|
4539
4541
|
[
|
|
4540
4542
|
"",
|
|
4541
|
-
"
|
|
4542
|
-
"
|
|
4543
|
+
"remote <scope>",
|
|
4544
|
+
"make the change on the remote scope"
|
|
4543
4545
|
]
|
|
4544
4546
|
],
|
|
4545
|
-
"description": "
|
|
4546
|
-
"extendedDescription": "
|
|
4547
|
-
"
|
|
4548
|
-
"
|
|
4547
|
+
"description": "rebuild the version history of a component. helpful when it got corrupted for some reason",
|
|
4548
|
+
"extendedDescription": "",
|
|
4549
|
+
"group": "info",
|
|
4550
|
+
"private": false,
|
|
4549
4551
|
"arguments": [
|
|
4550
4552
|
{
|
|
4551
|
-
"name": "
|
|
4552
|
-
"description": "
|
|
4553
|
-
},
|
|
4554
|
-
{
|
|
4555
|
-
"name": "pattern",
|
|
4556
|
-
"description": "partially merge the lane - only components that match the specified component-pattern\nComponent pattern format: 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."
|
|
4553
|
+
"name": "component-pattern",
|
|
4554
|
+
"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."
|
|
4557
4555
|
}
|
|
4558
4556
|
]
|
|
4559
|
-
}
|
|
4557
|
+
}
|
|
4558
|
+
]
|
|
4559
|
+
},
|
|
4560
|
+
{
|
|
4561
|
+
"name": "cat-version-history <id>",
|
|
4562
|
+
"alias": "cvh",
|
|
4563
|
+
"options": [
|
|
4564
|
+
[
|
|
4565
|
+
"j",
|
|
4566
|
+
"json",
|
|
4567
|
+
"json format"
|
|
4568
|
+
]
|
|
4569
|
+
],
|
|
4570
|
+
"description": "cat version-history object by component-id",
|
|
4571
|
+
"extendedDescription": "",
|
|
4572
|
+
"group": "ungrouped",
|
|
4573
|
+
"private": true
|
|
4574
|
+
},
|
|
4575
|
+
{
|
|
4576
|
+
"name": "stash <sub-command>",
|
|
4577
|
+
"alias": "",
|
|
4578
|
+
"options": [
|
|
4579
|
+
[
|
|
4580
|
+
"p",
|
|
4581
|
+
"pattern",
|
|
4582
|
+
"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."
|
|
4583
|
+
],
|
|
4584
|
+
[
|
|
4585
|
+
"m",
|
|
4586
|
+
"message <string>",
|
|
4587
|
+
"message to be attached to the stashed components"
|
|
4588
|
+
]
|
|
4589
|
+
],
|
|
4590
|
+
"description": "stash modified components",
|
|
4591
|
+
"extendedDescription": "",
|
|
4592
|
+
"group": "development",
|
|
4593
|
+
"private": false,
|
|
4594
|
+
"commands": [
|
|
4560
4595
|
{
|
|
4561
|
-
"name": "
|
|
4562
|
-
"alias": "",
|
|
4596
|
+
"name": "save",
|
|
4597
|
+
"alias": "s",
|
|
4563
4598
|
"options": [
|
|
4564
4599
|
[
|
|
4565
|
-
"",
|
|
4566
|
-
"
|
|
4567
|
-
"
|
|
4600
|
+
"p",
|
|
4601
|
+
"pattern",
|
|
4602
|
+
"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."
|
|
4568
4603
|
],
|
|
4569
4604
|
[
|
|
4570
|
-
"
|
|
4571
|
-
"
|
|
4572
|
-
"
|
|
4605
|
+
"",
|
|
4606
|
+
"include-new",
|
|
4607
|
+
"EXPERIMENTAL. by default, only modified components are stashed. use this flag to include new components"
|
|
4573
4608
|
],
|
|
4574
4609
|
[
|
|
4575
|
-
"
|
|
4576
|
-
"
|
|
4577
|
-
"
|
|
4610
|
+
"m",
|
|
4611
|
+
"message <string>",
|
|
4612
|
+
"message to be attached to the stashed components"
|
|
4578
4613
|
]
|
|
4579
4614
|
],
|
|
4580
|
-
"description": "
|
|
4581
|
-
"extendedDescription": "
|
|
4582
|
-
"
|
|
4583
|
-
"
|
|
4615
|
+
"description": "stash modified components",
|
|
4616
|
+
"extendedDescription": "",
|
|
4617
|
+
"group": "development",
|
|
4618
|
+
"private": false
|
|
4584
4619
|
},
|
|
4585
4620
|
{
|
|
4586
|
-
"name": "
|
|
4587
|
-
"alias": "",
|
|
4621
|
+
"name": "load [stash-id]",
|
|
4622
|
+
"alias": "pop",
|
|
4588
4623
|
"options": [
|
|
4589
4624
|
[
|
|
4590
|
-
"
|
|
4591
|
-
"
|
|
4592
|
-
"
|
|
4625
|
+
"r",
|
|
4626
|
+
"auto-merge-resolve <merge-strategy>",
|
|
4627
|
+
"in case of merge conflict, resolve according to the provided strategy: [ours, theirs, manual]"
|
|
4628
|
+
],
|
|
4629
|
+
[
|
|
4630
|
+
"",
|
|
4631
|
+
"manual",
|
|
4632
|
+
"same as \"--auto-merge-resolve manual\". in case of merge conflict, write the files with the conflict markers"
|
|
4633
|
+
],
|
|
4634
|
+
[
|
|
4635
|
+
"",
|
|
4636
|
+
"force-ours",
|
|
4637
|
+
"do not merge, preserve local files as is"
|
|
4638
|
+
],
|
|
4639
|
+
[
|
|
4640
|
+
"",
|
|
4641
|
+
"force-theirs",
|
|
4642
|
+
"do not merge, just overwrite with incoming files"
|
|
4593
4643
|
]
|
|
4594
4644
|
],
|
|
4595
|
-
"description": "
|
|
4596
|
-
"extendedDescription": "
|
|
4597
|
-
"
|
|
4645
|
+
"description": "apply the changes according to the stash. if no stash-id provided, it loads the latest stash",
|
|
4646
|
+
"extendedDescription": "",
|
|
4647
|
+
"group": "development",
|
|
4648
|
+
"private": false
|
|
4649
|
+
},
|
|
4650
|
+
{
|
|
4651
|
+
"name": "list",
|
|
4652
|
+
"alias": "",
|
|
4653
|
+
"options": [],
|
|
4654
|
+
"description": "list stash",
|
|
4655
|
+
"extendedDescription": "",
|
|
4656
|
+
"group": "development",
|
|
4657
|
+
"private": false
|
|
4598
4658
|
}
|
|
4599
4659
|
]
|
|
4600
4660
|
},
|
|
4601
4661
|
{
|
|
4602
|
-
"name": "
|
|
4662
|
+
"name": "log <id>",
|
|
4603
4663
|
"alias": "",
|
|
4604
4664
|
"options": [
|
|
4605
|
-
[
|
|
4606
|
-
"h",
|
|
4607
|
-
"head",
|
|
4608
|
-
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4609
|
-
],
|
|
4610
4665
|
[
|
|
4611
4666
|
"r",
|
|
4612
|
-
"
|
|
4613
|
-
"
|
|
4614
|
-
],
|
|
4615
|
-
[
|
|
4616
|
-
"",
|
|
4617
|
-
"force-ours",
|
|
4618
|
-
"do not merge, preserve local files as is"
|
|
4667
|
+
"remote",
|
|
4668
|
+
"show log of a remote component"
|
|
4619
4669
|
],
|
|
4620
4670
|
[
|
|
4621
4671
|
"",
|
|
4622
|
-
"
|
|
4623
|
-
"
|
|
4624
|
-
],
|
|
4625
|
-
[
|
|
4626
|
-
"a",
|
|
4627
|
-
"get-all",
|
|
4628
|
-
"DEPRECATED. this is currently the default behavior"
|
|
4672
|
+
"parents",
|
|
4673
|
+
"show parents and lanes data"
|
|
4629
4674
|
],
|
|
4630
4675
|
[
|
|
4631
|
-
"",
|
|
4632
|
-
"
|
|
4633
|
-
"
|
|
4676
|
+
"o",
|
|
4677
|
+
"one-line",
|
|
4678
|
+
"show each log entry in one line"
|
|
4634
4679
|
],
|
|
4635
4680
|
[
|
|
4636
|
-
"
|
|
4637
|
-
"
|
|
4638
|
-
"
|
|
4681
|
+
"f",
|
|
4682
|
+
"full-hash",
|
|
4683
|
+
"show full hash of the snap (default to the first 9 characters for --one-line/--parents flags)"
|
|
4639
4684
|
],
|
|
4640
4685
|
[
|
|
4641
|
-
"
|
|
4642
|
-
"
|
|
4643
|
-
"
|
|
4686
|
+
"m",
|
|
4687
|
+
"full-message",
|
|
4688
|
+
"show full message of the snap (default to the first line for --one-line/--parents flags)"
|
|
4644
4689
|
],
|
|
4645
4690
|
[
|
|
4646
|
-
"
|
|
4647
|
-
"
|
|
4648
|
-
"
|
|
4691
|
+
"",
|
|
4692
|
+
"show-hidden",
|
|
4693
|
+
"show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config)"
|
|
4649
4694
|
],
|
|
4650
4695
|
[
|
|
4651
4696
|
"j",
|
|
4652
4697
|
"json",
|
|
4653
|
-
"
|
|
4698
|
+
"json format"
|
|
4654
4699
|
]
|
|
4655
4700
|
],
|
|
4656
|
-
"description": "
|
|
4701
|
+
"description": "show components(s) version history",
|
|
4657
4702
|
"extendedDescription": "",
|
|
4658
|
-
"group": "
|
|
4659
|
-
"private":
|
|
4703
|
+
"group": "info",
|
|
4704
|
+
"private": false,
|
|
4705
|
+
"remoteOp": true,
|
|
4706
|
+
"skipWorkspace": true,
|
|
4660
4707
|
"arguments": [
|
|
4661
4708
|
{
|
|
4662
|
-
"name": "
|
|
4663
|
-
"description": "
|
|
4709
|
+
"name": "id",
|
|
4710
|
+
"description": "component-id or component-name"
|
|
4664
4711
|
}
|
|
4665
4712
|
]
|
|
4666
4713
|
},
|
|
4667
4714
|
{
|
|
4668
|
-
"name": "
|
|
4669
|
-
"alias": "
|
|
4670
|
-
"options": [
|
|
4671
|
-
|
|
4715
|
+
"name": "log-file <filepath>",
|
|
4716
|
+
"alias": "",
|
|
4717
|
+
"options": [
|
|
4718
|
+
[
|
|
4719
|
+
"o",
|
|
4720
|
+
"one-line",
|
|
4721
|
+
"show each log entry in one line"
|
|
4722
|
+
]
|
|
4723
|
+
],
|
|
4724
|
+
"description": "EXPERIMENTAL. show file history",
|
|
4672
4725
|
"extendedDescription": "",
|
|
4673
|
-
"group": "
|
|
4674
|
-
"private":
|
|
4726
|
+
"group": "info",
|
|
4727
|
+
"private": false,
|
|
4728
|
+
"arguments": [
|
|
4729
|
+
{
|
|
4730
|
+
"name": "filepath",
|
|
4731
|
+
"description": "file path relative to the workspace"
|
|
4732
|
+
}
|
|
4733
|
+
]
|
|
4734
|
+
},
|
|
4735
|
+
{
|
|
4736
|
+
"name": "blame <filepath>",
|
|
4737
|
+
"alias": "",
|
|
4738
|
+
"options": [
|
|
4739
|
+
[
|
|
4740
|
+
"m",
|
|
4741
|
+
"include-message",
|
|
4742
|
+
"show the commit message"
|
|
4743
|
+
]
|
|
4744
|
+
],
|
|
4745
|
+
"description": "EXPERIMENTAL. per line, show who and when was the last to modify it",
|
|
4746
|
+
"extendedDescription": "",
|
|
4747
|
+
"group": "info",
|
|
4748
|
+
"private": false,
|
|
4749
|
+
"arguments": [
|
|
4750
|
+
{
|
|
4751
|
+
"name": "filepath",
|
|
4752
|
+
"description": "file path relative to the workspace"
|
|
4753
|
+
}
|
|
4754
|
+
]
|
|
4675
4755
|
},
|
|
4676
4756
|
{
|
|
4677
4757
|
"name": "server",
|