@teambit/harmony.content.cli-reference 1.95.56 → 1.95.59
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.json +1306 -1295
- package/cli-reference.mdx +5 -8
- package/dist/cli-reference.json +1306 -1295
- package/dist/cli-reference.mdx.js +17 -14
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.59.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1661052612585.js → preview-1661398415639.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.56.tgz +0 -0
package/cli-reference.mdx
CHANGED
|
@@ -558,10 +558,8 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
558
558
|
**Workspace only**: yes
|
|
559
559
|
**Description**: export components from the workspace to remote scopes
|
|
560
560
|
bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well
|
|
561
|
-
`bit export [id...]` => export the given ids to their current scope
|
|
562
|
-
|
|
563
|
-
https://bit.dev/docs/components/exporting-components
|
|
564
|
-
you can use a pattern for multiple ids, such as bit export remote-scope "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
561
|
+
`bit export [id...]` => export the given ids to their current scope
|
|
562
|
+
you can use a pattern for multiple ids, such as bit export remote-scope "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
565
563
|
|
|
566
564
|
`bit export [component-patterns...]`
|
|
567
565
|
|
|
@@ -693,6 +691,7 @@ https://bit.dev/docs/workspace/creating-workspaces#initialize-a-workspace-on-an-
|
|
|
693
691
|
| `--reset-hard` | | delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-start using Bit from scratch |
|
|
694
692
|
| `--reset-scope` | | removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact |
|
|
695
693
|
| `--default-directory <default-directory>` | `-d` | set up default directory to import components into |
|
|
694
|
+
| `--default-scope <default-scope>` | | set up default scope for all components in the workspace |
|
|
696
695
|
| `--package-manager <package-manager>` | `-p` | set up package manager (npm or yarn) |
|
|
697
696
|
| `--force` | `-f` | force workspace initialization without clearing local objects |
|
|
698
697
|
| `--harmony` | | DEPRECATED. no need for this flag. Harmony is the default now |
|
|
@@ -965,11 +964,9 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
965
964
|
|
|
966
965
|
**Alias**: `rm`
|
|
967
966
|
**Workspace only**: no
|
|
968
|
-
**Description**: remove component(s) from the workspace, or a remote scope
|
|
969
|
-
https://bit.dev/docs/components/removing-components
|
|
970
|
-
you can use a pattern for multiple ids, such as bit remove "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
967
|
+
**Description**: remove component(s) from the workspace, or a remote scope
|
|
971
968
|
|
|
972
|
-
`bit remove <component-
|
|
969
|
+
`bit remove <component-pattern>`
|
|
973
970
|
|
|
974
971
|
| **Option** | **Option alias** | **Description** |
|
|
975
972
|
| ---------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------- |
|