@teambit/harmony.content.cli-reference 2.0.120 → 2.0.122

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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.5'
2
+ description: 'Bit command synopses. Bit version: 1.6.7'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -495,51 +495,6 @@
495
495
  "private": true,
496
496
  "internal": true
497
497
  },
498
- {
499
- "name": "login",
500
- "alias": "",
501
- "options": [
502
- [
503
- "d",
504
- "cloud-domain <domain>",
505
- "login cloud domain (default bit.cloud)"
506
- ],
507
- [
508
- "p",
509
- "port <port>",
510
- "port number to open for localhost server (default 8085)"
511
- ],
512
- [
513
- "",
514
- "no-browser",
515
- "do not open a browser for authentication"
516
- ],
517
- [
518
- "",
519
- "machine-name <name>",
520
- "specify machine-name to pair with the token (useful for CI to avoid accidentally revoking the token)"
521
- ],
522
- [
523
- "",
524
- "suppress-browser-launch",
525
- "DEPRECATE. use --no-browser instead"
526
- ]
527
- ],
528
- "description": "log in to Bit cloud",
529
- "extendedDescription": "",
530
- "group": "general",
531
- "private": false,
532
- "skipWorkspace": true
533
- },
534
- {
535
- "name": "logout",
536
- "alias": "",
537
- "options": [],
538
- "description": "log the CLI out of Bit",
539
- "extendedDescription": "",
540
- "group": "general",
541
- "private": false
542
- },
543
498
  {
544
499
  "name": "migrate [scopePath]",
545
500
  "alias": "",
@@ -4298,6 +4253,63 @@
4298
4253
  }
4299
4254
  ]
4300
4255
  },
4256
+ {
4257
+ "name": "login",
4258
+ "alias": "",
4259
+ "options": [
4260
+ [
4261
+ "d",
4262
+ "cloud-domain <domain>",
4263
+ "login cloud domain (default bit.cloud)"
4264
+ ],
4265
+ [
4266
+ "p",
4267
+ "port <port>",
4268
+ "port number to open for localhost server (default 8085)"
4269
+ ],
4270
+ [
4271
+ "",
4272
+ "no-browser",
4273
+ "do not open a browser for authentication"
4274
+ ],
4275
+ [
4276
+ "",
4277
+ "machine-name <name>",
4278
+ "specify machine-name to pair with the token (useful for CI to avoid accidentally revoking the token)"
4279
+ ],
4280
+ [
4281
+ "",
4282
+ "suppress-browser-launch",
4283
+ "DEPRECATE. use --no-browser instead"
4284
+ ]
4285
+ ],
4286
+ "description": "log in to Bit cloud",
4287
+ "extendedDescription": "",
4288
+ "group": "general",
4289
+ "private": false,
4290
+ "remoteOp": true,
4291
+ "skipWorkspace": true
4292
+ },
4293
+ {
4294
+ "name": "logout",
4295
+ "alias": "",
4296
+ "options": [],
4297
+ "description": "log the CLI out of Bit",
4298
+ "extendedDescription": "",
4299
+ "group": "general",
4300
+ "private": false,
4301
+ "skipWorkspace": true
4302
+ },
4303
+ {
4304
+ "name": "whoami",
4305
+ "alias": "",
4306
+ "options": [],
4307
+ "description": "display the currently logged in user",
4308
+ "extendedDescription": "",
4309
+ "group": "general",
4310
+ "private": false,
4311
+ "skipWorkspace": true
4312
+ },
4301
4313
  {
4302
4314
  "name": "status",
4303
4315
  "alias": "s",
package/cli-reference.mdx CHANGED
@@ -2021,6 +2021,14 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
2021
2021
 
2022
2022
  ---
2023
2023
 
2024
+ ## whoami
2025
+
2026
+ **Description**: display the currently logged in user
2027
+
2028
+ `bit whoami`
2029
+
2030
+ ---
2031
+
2024
2032
  ## why
2025
2033
 
2026
2034
  **Description**: EXPERIMENTAL. find components that use the specified dependency
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.5'
2
+ description: 'Bit command synopses. Bit version: 1.6.7'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -495,51 +495,6 @@
495
495
  "private": true,
496
496
  "internal": true
497
497
  },
498
- {
499
- "name": "login",
500
- "alias": "",
501
- "options": [
502
- [
503
- "d",
504
- "cloud-domain <domain>",
505
- "login cloud domain (default bit.cloud)"
506
- ],
507
- [
508
- "p",
509
- "port <port>",
510
- "port number to open for localhost server (default 8085)"
511
- ],
512
- [
513
- "",
514
- "no-browser",
515
- "do not open a browser for authentication"
516
- ],
517
- [
518
- "",
519
- "machine-name <name>",
520
- "specify machine-name to pair with the token (useful for CI to avoid accidentally revoking the token)"
521
- ],
522
- [
523
- "",
524
- "suppress-browser-launch",
525
- "DEPRECATE. use --no-browser instead"
526
- ]
527
- ],
528
- "description": "log in to Bit cloud",
529
- "extendedDescription": "",
530
- "group": "general",
531
- "private": false,
532
- "skipWorkspace": true
533
- },
534
- {
535
- "name": "logout",
536
- "alias": "",
537
- "options": [],
538
- "description": "log the CLI out of Bit",
539
- "extendedDescription": "",
540
- "group": "general",
541
- "private": false
542
- },
543
498
  {
544
499
  "name": "migrate [scopePath]",
545
500
  "alias": "",
@@ -4298,6 +4253,63 @@
4298
4253
  }
4299
4254
  ]
4300
4255
  },
4256
+ {
4257
+ "name": "login",
4258
+ "alias": "",
4259
+ "options": [
4260
+ [
4261
+ "d",
4262
+ "cloud-domain <domain>",
4263
+ "login cloud domain (default bit.cloud)"
4264
+ ],
4265
+ [
4266
+ "p",
4267
+ "port <port>",
4268
+ "port number to open for localhost server (default 8085)"
4269
+ ],
4270
+ [
4271
+ "",
4272
+ "no-browser",
4273
+ "do not open a browser for authentication"
4274
+ ],
4275
+ [
4276
+ "",
4277
+ "machine-name <name>",
4278
+ "specify machine-name to pair with the token (useful for CI to avoid accidentally revoking the token)"
4279
+ ],
4280
+ [
4281
+ "",
4282
+ "suppress-browser-launch",
4283
+ "DEPRECATE. use --no-browser instead"
4284
+ ]
4285
+ ],
4286
+ "description": "log in to Bit cloud",
4287
+ "extendedDescription": "",
4288
+ "group": "general",
4289
+ "private": false,
4290
+ "remoteOp": true,
4291
+ "skipWorkspace": true
4292
+ },
4293
+ {
4294
+ "name": "logout",
4295
+ "alias": "",
4296
+ "options": [],
4297
+ "description": "log the CLI out of Bit",
4298
+ "extendedDescription": "",
4299
+ "group": "general",
4300
+ "private": false,
4301
+ "skipWorkspace": true
4302
+ },
4303
+ {
4304
+ "name": "whoami",
4305
+ "alias": "",
4306
+ "options": [],
4307
+ "description": "display the currently logged in user",
4308
+ "extendedDescription": "",
4309
+ "group": "general",
4310
+ "private": false,
4311
+ "skipWorkspace": true
4312
+ },
4301
4313
  {
4302
4314
  "name": "status",
4303
4315
  "alias": "s",
@@ -10485,7 +10485,11 @@ function MDXContent(_ref) {
10485
10485
  }, "-t")), (0, _react2.mdx)("td", {
10486
10486
  parentName: "tr",
10487
10487
  "align": null
10488
- }, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "why"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10488
+ }, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "whoami"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10489
+ parentName: "p"
10490
+ }, "Description"), ": display the currently logged in user"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
10491
+ parentName: "p"
10492
+ }, "bit whoami")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "why"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10489
10493
  parentName: "p"
10490
10494
  }, "Description"), ": EXPERIMENTAL. find components that use the specified dependency"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
10491
10495
  parentName: "p"