@teambit/harmony.content.cli-reference 1.95.26 → 1.95.27

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.
@@ -1086,10 +1086,10 @@
1086
1086
  "group": "development"
1087
1087
  },
1088
1088
  {
1089
- "name": "unset <component>",
1089
+ "name": "unset <pattern>",
1090
1090
  "options": [],
1091
- "description": "unset an environment from component(s)",
1092
- "extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nto validate the pattern before running this command, run `bit pattern <pattern>`.\n",
1091
+ "description": "unset an environment from component(s) that was set by \"bit env set\"",
1092
+ "extendedDescription": "keep in mind that this doesn't remove envs that are set in the 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 remove the specific settings and let the the variants in workspace.jsonc to control the env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nto validate the pattern before running this command, run `bit pattern <pattern>`.\n",
1093
1093
  "group": "development"
1094
1094
  },
1095
1095
  {
@@ -1987,8 +1987,8 @@
1987
1987
  "DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-snap even if tests are failing and even when component has not changed"
1988
1988
  ]
1989
1989
  ],
1990
- "description": "record component changes.\nhttps://bit.dev/components/snaps\nyou can use a pattern for multiple ids, such as bit snap \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
1991
- "extendedDescription": "",
1990
+ "description": "EXPERIMENTAL. record component changes",
1991
+ "extendedDescription": "https://bit.dev/components/snaps\nyou can use a pattern for multiple ids, such as bit snap \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
1992
1992
  "group": "ungrouped",
1993
1993
  "private": true
1994
1994
  },
package/cli-reference.mdx CHANGED
@@ -512,9 +512,12 @@ to validate the pattern before running this command, run `bit pattern <pattern>`
512
512
 
513
513
  ### envs unset
514
514
 
515
- **Usage**: `envs unset <component>`
515
+ **Usage**: `envs unset <pattern>`
516
516
 
517
- **Description**: unset an environment from component(s)
517
+ **Description**: unset an environment from component(s) that was set by "bit env set"
518
+ keep in mind that this doesn't remove envs that are set in the variants.
519
+ in only removes envs that appear in the .bitmap file, which were previously configured via "bit env set".
520
+ the purpose of this command is to remove the specific settings and let the the variants in workspace.jsonc to control the env.
518
521
  you can use a `<pattern>` for multiple component ids, such as `bit env unset "org.scope/utils/**"`. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button"
519
522
  always wrap the pattern with quotes to avoid collision with shell commands.
520
523
  to validate the pattern before running this command, run `bit pattern <pattern>`.
@@ -1086,10 +1086,10 @@
1086
1086
  "group": "development"
1087
1087
  },
1088
1088
  {
1089
- "name": "unset <component>",
1089
+ "name": "unset <pattern>",
1090
1090
  "options": [],
1091
- "description": "unset an environment from component(s)",
1092
- "extendedDescription": "you can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nto validate the pattern before running this command, run `bit pattern <pattern>`.\n",
1091
+ "description": "unset an environment from component(s) that was set by \"bit env set\"",
1092
+ "extendedDescription": "keep in mind that this doesn't remove envs that are set in the 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 remove the specific settings and let the the variants in workspace.jsonc to control the env.\nyou can use a `<pattern>` for multiple component ids, such as `bit env unset \"org.scope/utils/**\"`. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nalways wrap the pattern with quotes to avoid collision with shell commands.\nto validate the pattern before running this command, run `bit pattern <pattern>`.\n",
1093
1093
  "group": "development"
1094
1094
  },
1095
1095
  {
@@ -1987,8 +1987,8 @@
1987
1987
  "DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-snap even if tests are failing and even when component has not changed"
1988
1988
  ]
1989
1989
  ],
1990
- "description": "record component changes.\nhttps://bit.dev/components/snaps\nyou can use a pattern for multiple ids, such as bit snap \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
1991
- "extendedDescription": "",
1990
+ "description": "EXPERIMENTAL. record component changes",
1991
+ "extendedDescription": "https://bit.dev/components/snaps\nyou can use a pattern for multiple ids, such as bit snap \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
1992
1992
  "group": "ungrouped",
1993
1993
  "private": true
1994
1994
  },
@@ -2041,9 +2041,15 @@ function MDXContent(_ref) {
2041
2041
  parentName: "p"
2042
2042
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
2043
2043
  parentName: "p"
2044
- }, "envs unset <component>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
2044
+ }, "envs unset <pattern>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
2045
2045
  parentName: "p"
2046
- }, "Description"), ": unset an environment from component(s)", (0, _react2.mdx)("br", {
2046
+ }, "Description"), ": unset an environment from component(s) that was set by \"bit env set\"", (0, _react2.mdx)("br", {
2047
+ parentName: "p"
2048
+ }), "\n", "keep in mind that this doesn't remove envs that are set in the variants.", (0, _react2.mdx)("br", {
2049
+ parentName: "p"
2050
+ }), "\n", "in only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".", (0, _react2.mdx)("br", {
2051
+ parentName: "p"
2052
+ }), "\n", "the purpose of this command is to remove the specific settings and let the the variants in workspace.jsonc to control the env.", (0, _react2.mdx)("br", {
2047
2053
  parentName: "p"
2048
2054
  }), "\n", "you can use a ", (0, _react2.mdx)("inlineCode", {
2049
2055
  parentName: "p"