@teambit/harmony.content.cli-reference 2.0.844 → 2.0.846

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,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.12.198'
2
+ description: 'Bit command synopses. Bit version: 1.12.200'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1378,6 +1378,10 @@
1378
1378
  "cmd": "bit create mdx docs/create-components --aspect teambit.mdx/mdx-env --scope my-org.my-scope",
1379
1379
  "description": "creates an mdx component named 'docs/create-components' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
1380
1380
  },
1381
+ {
1382
+ "cmd": "bit create react my-org.my-scope/hooks/use-session",
1383
+ "description": "creates a component named 'hooks/use-session' with scope 'my-org.my-scope'. \nthe scope is parsed from the component name (bit.cloud scopes contain a dot)."
1384
+ },
1381
1385
  {
1382
1386
  "cmd": "bit create react ui/button --aspect teambit.react/react-env --env teambit.community/envs/community-react@3.0.3",
1383
1387
  "description": "creates a component named 'ui/button' from the teambit.react/react-env env and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react-env')."
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.12.198'
2
+ description: 'Bit command synopses. Bit version: 1.12.200'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1378,6 +1378,10 @@
1378
1378
  "cmd": "bit create mdx docs/create-components --aspect teambit.mdx/mdx-env --scope my-org.my-scope",
1379
1379
  "description": "creates an mdx component named 'docs/create-components' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
1380
1380
  },
1381
+ {
1382
+ "cmd": "bit create react my-org.my-scope/hooks/use-session",
1383
+ "description": "creates a component named 'hooks/use-session' with scope 'my-org.my-scope'. \nthe scope is parsed from the component name (bit.cloud scopes contain a dot)."
1384
+ },
1381
1385
  {
1382
1386
  "cmd": "bit create react ui/button --aspect teambit.react/react-env --env teambit.community/envs/community-react@3.0.3",
1383
1387
  "description": "creates a component named 'ui/button' from the teambit.react/react-env env and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react-env')."