@teambit/harmony.content.cli-reference 1.95.124 → 1.95.126
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 +125 -120
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.json +125 -120
- package/dist/cli-reference.mdx.js +14 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1677431903896.js → preview-1677900877836.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.126.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.124.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1873,126 +1873,6 @@
|
|
|
1873
1873
|
}
|
|
1874
1874
|
]
|
|
1875
1875
|
},
|
|
1876
|
-
{
|
|
1877
|
-
"name": "remove <component-pattern>",
|
|
1878
|
-
"alias": "rm",
|
|
1879
|
-
"options": [
|
|
1880
|
-
[
|
|
1881
|
-
"",
|
|
1882
|
-
"soft",
|
|
1883
|
-
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1884
|
-
],
|
|
1885
|
-
[
|
|
1886
|
-
"r",
|
|
1887
|
-
"remote",
|
|
1888
|
-
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
1889
|
-
],
|
|
1890
|
-
[
|
|
1891
|
-
"",
|
|
1892
|
-
"from-lane",
|
|
1893
|
-
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
1894
|
-
],
|
|
1895
|
-
[
|
|
1896
|
-
"t",
|
|
1897
|
-
"track",
|
|
1898
|
-
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
1899
|
-
],
|
|
1900
|
-
[
|
|
1901
|
-
"d",
|
|
1902
|
-
"delete-files",
|
|
1903
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
1904
|
-
],
|
|
1905
|
-
[
|
|
1906
|
-
"",
|
|
1907
|
-
"keep-files",
|
|
1908
|
-
"keep component files (just untrack the component)"
|
|
1909
|
-
],
|
|
1910
|
-
[
|
|
1911
|
-
"f",
|
|
1912
|
-
"force",
|
|
1913
|
-
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
1914
|
-
],
|
|
1915
|
-
[
|
|
1916
|
-
"s",
|
|
1917
|
-
"silent",
|
|
1918
|
-
"skip confirmation"
|
|
1919
|
-
]
|
|
1920
|
-
],
|
|
1921
|
-
"description": "remove component(s) from the workspace, or a remote scope",
|
|
1922
|
-
"extendedDescription": "",
|
|
1923
|
-
"group": "collaborate",
|
|
1924
|
-
"private": false,
|
|
1925
|
-
"remoteOp": true,
|
|
1926
|
-
"skipWorkspace": true,
|
|
1927
|
-
"arguments": [
|
|
1928
|
-
{
|
|
1929
|
-
"name": "component-pattern",
|
|
1930
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
1931
|
-
}
|
|
1932
|
-
]
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
1936
|
-
"alias": "",
|
|
1937
|
-
"options": [],
|
|
1938
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
1939
|
-
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got 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",
|
|
1940
|
-
"group": "collaborate",
|
|
1941
|
-
"private": true,
|
|
1942
|
-
"remoteOp": true
|
|
1943
|
-
},
|
|
1944
|
-
{
|
|
1945
|
-
"name": "export [component-patterns...]",
|
|
1946
|
-
"alias": "e",
|
|
1947
|
-
"options": [
|
|
1948
|
-
[
|
|
1949
|
-
"e",
|
|
1950
|
-
"eject",
|
|
1951
|
-
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
1952
|
-
],
|
|
1953
|
-
[
|
|
1954
|
-
"a",
|
|
1955
|
-
"all",
|
|
1956
|
-
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
1957
|
-
],
|
|
1958
|
-
[
|
|
1959
|
-
"",
|
|
1960
|
-
"all-versions",
|
|
1961
|
-
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
1962
|
-
],
|
|
1963
|
-
[
|
|
1964
|
-
"",
|
|
1965
|
-
"origin-directly",
|
|
1966
|
-
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
1967
|
-
],
|
|
1968
|
-
[
|
|
1969
|
-
"",
|
|
1970
|
-
"resume <string>",
|
|
1971
|
-
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
1972
|
-
],
|
|
1973
|
-
[
|
|
1974
|
-
"",
|
|
1975
|
-
"ignore-missing-artifacts",
|
|
1976
|
-
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
1977
|
-
],
|
|
1978
|
-
[
|
|
1979
|
-
"j",
|
|
1980
|
-
"json",
|
|
1981
|
-
"show output in json format"
|
|
1982
|
-
]
|
|
1983
|
-
],
|
|
1984
|
-
"description": "export components from the workspace to remote scopes",
|
|
1985
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n 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)",
|
|
1986
|
-
"group": "collaborate",
|
|
1987
|
-
"private": false,
|
|
1988
|
-
"remoteOp": true,
|
|
1989
|
-
"arguments": [
|
|
1990
|
-
{
|
|
1991
|
-
"name": "component-patterns...",
|
|
1992
|
-
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1993
|
-
}
|
|
1994
|
-
]
|
|
1995
|
-
},
|
|
1996
1876
|
{
|
|
1997
1877
|
"name": "import [component-patterns...]",
|
|
1998
1878
|
"alias": "",
|
|
@@ -2066,6 +1946,11 @@
|
|
|
2066
1946
|
"",
|
|
2067
1947
|
"fetch-deps",
|
|
2068
1948
|
"fetch dependencies objects"
|
|
1949
|
+
],
|
|
1950
|
+
[
|
|
1951
|
+
"",
|
|
1952
|
+
"track-only",
|
|
1953
|
+
"do not write any file, just create .bitmap entries of the imported components"
|
|
2069
1954
|
]
|
|
2070
1955
|
],
|
|
2071
1956
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -2115,6 +2000,126 @@
|
|
|
2115
2000
|
"group": "ungrouped",
|
|
2116
2001
|
"private": true
|
|
2117
2002
|
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "remove <component-pattern>",
|
|
2005
|
+
"alias": "rm",
|
|
2006
|
+
"options": [
|
|
2007
|
+
[
|
|
2008
|
+
"",
|
|
2009
|
+
"soft",
|
|
2010
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2011
|
+
],
|
|
2012
|
+
[
|
|
2013
|
+
"r",
|
|
2014
|
+
"remote",
|
|
2015
|
+
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
2016
|
+
],
|
|
2017
|
+
[
|
|
2018
|
+
"",
|
|
2019
|
+
"from-lane",
|
|
2020
|
+
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
2021
|
+
],
|
|
2022
|
+
[
|
|
2023
|
+
"t",
|
|
2024
|
+
"track",
|
|
2025
|
+
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2026
|
+
],
|
|
2027
|
+
[
|
|
2028
|
+
"d",
|
|
2029
|
+
"delete-files",
|
|
2030
|
+
"DEPRECATED (this is now the default). delete local component files"
|
|
2031
|
+
],
|
|
2032
|
+
[
|
|
2033
|
+
"",
|
|
2034
|
+
"keep-files",
|
|
2035
|
+
"keep component files (just untrack the component)"
|
|
2036
|
+
],
|
|
2037
|
+
[
|
|
2038
|
+
"f",
|
|
2039
|
+
"force",
|
|
2040
|
+
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2041
|
+
],
|
|
2042
|
+
[
|
|
2043
|
+
"s",
|
|
2044
|
+
"silent",
|
|
2045
|
+
"skip confirmation"
|
|
2046
|
+
]
|
|
2047
|
+
],
|
|
2048
|
+
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2049
|
+
"extendedDescription": "",
|
|
2050
|
+
"group": "collaborate",
|
|
2051
|
+
"private": false,
|
|
2052
|
+
"remoteOp": true,
|
|
2053
|
+
"skipWorkspace": true,
|
|
2054
|
+
"arguments": [
|
|
2055
|
+
{
|
|
2056
|
+
"name": "component-pattern",
|
|
2057
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2058
|
+
}
|
|
2059
|
+
]
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
2063
|
+
"alias": "",
|
|
2064
|
+
"options": [],
|
|
2065
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
2066
|
+
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got 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",
|
|
2067
|
+
"group": "collaborate",
|
|
2068
|
+
"private": true,
|
|
2069
|
+
"remoteOp": true
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "export [component-patterns...]",
|
|
2073
|
+
"alias": "e",
|
|
2074
|
+
"options": [
|
|
2075
|
+
[
|
|
2076
|
+
"e",
|
|
2077
|
+
"eject",
|
|
2078
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
2079
|
+
],
|
|
2080
|
+
[
|
|
2081
|
+
"a",
|
|
2082
|
+
"all",
|
|
2083
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2084
|
+
],
|
|
2085
|
+
[
|
|
2086
|
+
"",
|
|
2087
|
+
"all-versions",
|
|
2088
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2089
|
+
],
|
|
2090
|
+
[
|
|
2091
|
+
"",
|
|
2092
|
+
"origin-directly",
|
|
2093
|
+
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2094
|
+
],
|
|
2095
|
+
[
|
|
2096
|
+
"",
|
|
2097
|
+
"resume <string>",
|
|
2098
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
2099
|
+
],
|
|
2100
|
+
[
|
|
2101
|
+
"",
|
|
2102
|
+
"ignore-missing-artifacts",
|
|
2103
|
+
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2104
|
+
],
|
|
2105
|
+
[
|
|
2106
|
+
"j",
|
|
2107
|
+
"json",
|
|
2108
|
+
"show output in json format"
|
|
2109
|
+
]
|
|
2110
|
+
],
|
|
2111
|
+
"description": "export components from the workspace to remote scopes",
|
|
2112
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n 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)",
|
|
2113
|
+
"group": "collaborate",
|
|
2114
|
+
"private": false,
|
|
2115
|
+
"remoteOp": true,
|
|
2116
|
+
"arguments": [
|
|
2117
|
+
{
|
|
2118
|
+
"name": "component-patterns...",
|
|
2119
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
2120
|
+
}
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2118
2123
|
{
|
|
2119
2124
|
"name": "insights [names...]",
|
|
2120
2125
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -692,6 +692,7 @@ you can use a pattern for multiple ids, such as bit import "utils/\*". (wrap the
|
|
|
692
692
|
| `--save-in-lane` | | EXPERIMENTAL. when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main) |
|
|
693
693
|
| `--all-history` | | relevant for fetching all components objects. avoid optimizations, fetch all history versions, always |
|
|
694
694
|
| `--fetch-deps` | | fetch dependencies objects |
|
|
695
|
+
| `--track-only` | | do not write any file, just create .bitmap entries of the imported components |
|
|
695
696
|
|
|
696
697
|
---
|
|
697
698
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1873,126 +1873,6 @@
|
|
|
1873
1873
|
}
|
|
1874
1874
|
]
|
|
1875
1875
|
},
|
|
1876
|
-
{
|
|
1877
|
-
"name": "remove <component-pattern>",
|
|
1878
|
-
"alias": "rm",
|
|
1879
|
-
"options": [
|
|
1880
|
-
[
|
|
1881
|
-
"",
|
|
1882
|
-
"soft",
|
|
1883
|
-
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1884
|
-
],
|
|
1885
|
-
[
|
|
1886
|
-
"r",
|
|
1887
|
-
"remote",
|
|
1888
|
-
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
1889
|
-
],
|
|
1890
|
-
[
|
|
1891
|
-
"",
|
|
1892
|
-
"from-lane",
|
|
1893
|
-
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
1894
|
-
],
|
|
1895
|
-
[
|
|
1896
|
-
"t",
|
|
1897
|
-
"track",
|
|
1898
|
-
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
1899
|
-
],
|
|
1900
|
-
[
|
|
1901
|
-
"d",
|
|
1902
|
-
"delete-files",
|
|
1903
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
1904
|
-
],
|
|
1905
|
-
[
|
|
1906
|
-
"",
|
|
1907
|
-
"keep-files",
|
|
1908
|
-
"keep component files (just untrack the component)"
|
|
1909
|
-
],
|
|
1910
|
-
[
|
|
1911
|
-
"f",
|
|
1912
|
-
"force",
|
|
1913
|
-
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
1914
|
-
],
|
|
1915
|
-
[
|
|
1916
|
-
"s",
|
|
1917
|
-
"silent",
|
|
1918
|
-
"skip confirmation"
|
|
1919
|
-
]
|
|
1920
|
-
],
|
|
1921
|
-
"description": "remove component(s) from the workspace, or a remote scope",
|
|
1922
|
-
"extendedDescription": "",
|
|
1923
|
-
"group": "collaborate",
|
|
1924
|
-
"private": false,
|
|
1925
|
-
"remoteOp": true,
|
|
1926
|
-
"skipWorkspace": true,
|
|
1927
|
-
"arguments": [
|
|
1928
|
-
{
|
|
1929
|
-
"name": "component-pattern",
|
|
1930
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
1931
|
-
}
|
|
1932
|
-
]
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
1936
|
-
"alias": "",
|
|
1937
|
-
"options": [],
|
|
1938
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
1939
|
-
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got 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",
|
|
1940
|
-
"group": "collaborate",
|
|
1941
|
-
"private": true,
|
|
1942
|
-
"remoteOp": true
|
|
1943
|
-
},
|
|
1944
|
-
{
|
|
1945
|
-
"name": "export [component-patterns...]",
|
|
1946
|
-
"alias": "e",
|
|
1947
|
-
"options": [
|
|
1948
|
-
[
|
|
1949
|
-
"e",
|
|
1950
|
-
"eject",
|
|
1951
|
-
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
1952
|
-
],
|
|
1953
|
-
[
|
|
1954
|
-
"a",
|
|
1955
|
-
"all",
|
|
1956
|
-
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
1957
|
-
],
|
|
1958
|
-
[
|
|
1959
|
-
"",
|
|
1960
|
-
"all-versions",
|
|
1961
|
-
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
1962
|
-
],
|
|
1963
|
-
[
|
|
1964
|
-
"",
|
|
1965
|
-
"origin-directly",
|
|
1966
|
-
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
1967
|
-
],
|
|
1968
|
-
[
|
|
1969
|
-
"",
|
|
1970
|
-
"resume <string>",
|
|
1971
|
-
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
1972
|
-
],
|
|
1973
|
-
[
|
|
1974
|
-
"",
|
|
1975
|
-
"ignore-missing-artifacts",
|
|
1976
|
-
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
1977
|
-
],
|
|
1978
|
-
[
|
|
1979
|
-
"j",
|
|
1980
|
-
"json",
|
|
1981
|
-
"show output in json format"
|
|
1982
|
-
]
|
|
1983
|
-
],
|
|
1984
|
-
"description": "export components from the workspace to remote scopes",
|
|
1985
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n 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)",
|
|
1986
|
-
"group": "collaborate",
|
|
1987
|
-
"private": false,
|
|
1988
|
-
"remoteOp": true,
|
|
1989
|
-
"arguments": [
|
|
1990
|
-
{
|
|
1991
|
-
"name": "component-patterns...",
|
|
1992
|
-
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1993
|
-
}
|
|
1994
|
-
]
|
|
1995
|
-
},
|
|
1996
1876
|
{
|
|
1997
1877
|
"name": "import [component-patterns...]",
|
|
1998
1878
|
"alias": "",
|
|
@@ -2066,6 +1946,11 @@
|
|
|
2066
1946
|
"",
|
|
2067
1947
|
"fetch-deps",
|
|
2068
1948
|
"fetch dependencies objects"
|
|
1949
|
+
],
|
|
1950
|
+
[
|
|
1951
|
+
"",
|
|
1952
|
+
"track-only",
|
|
1953
|
+
"do not write any file, just create .bitmap entries of the imported components"
|
|
2069
1954
|
]
|
|
2070
1955
|
],
|
|
2071
1956
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -2115,6 +2000,126 @@
|
|
|
2115
2000
|
"group": "ungrouped",
|
|
2116
2001
|
"private": true
|
|
2117
2002
|
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "remove <component-pattern>",
|
|
2005
|
+
"alias": "rm",
|
|
2006
|
+
"options": [
|
|
2007
|
+
[
|
|
2008
|
+
"",
|
|
2009
|
+
"soft",
|
|
2010
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2011
|
+
],
|
|
2012
|
+
[
|
|
2013
|
+
"r",
|
|
2014
|
+
"remote",
|
|
2015
|
+
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
2016
|
+
],
|
|
2017
|
+
[
|
|
2018
|
+
"",
|
|
2019
|
+
"from-lane",
|
|
2020
|
+
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
2021
|
+
],
|
|
2022
|
+
[
|
|
2023
|
+
"t",
|
|
2024
|
+
"track",
|
|
2025
|
+
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2026
|
+
],
|
|
2027
|
+
[
|
|
2028
|
+
"d",
|
|
2029
|
+
"delete-files",
|
|
2030
|
+
"DEPRECATED (this is now the default). delete local component files"
|
|
2031
|
+
],
|
|
2032
|
+
[
|
|
2033
|
+
"",
|
|
2034
|
+
"keep-files",
|
|
2035
|
+
"keep component files (just untrack the component)"
|
|
2036
|
+
],
|
|
2037
|
+
[
|
|
2038
|
+
"f",
|
|
2039
|
+
"force",
|
|
2040
|
+
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2041
|
+
],
|
|
2042
|
+
[
|
|
2043
|
+
"s",
|
|
2044
|
+
"silent",
|
|
2045
|
+
"skip confirmation"
|
|
2046
|
+
]
|
|
2047
|
+
],
|
|
2048
|
+
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2049
|
+
"extendedDescription": "",
|
|
2050
|
+
"group": "collaborate",
|
|
2051
|
+
"private": false,
|
|
2052
|
+
"remoteOp": true,
|
|
2053
|
+
"skipWorkspace": true,
|
|
2054
|
+
"arguments": [
|
|
2055
|
+
{
|
|
2056
|
+
"name": "component-pattern",
|
|
2057
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2058
|
+
}
|
|
2059
|
+
]
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
2063
|
+
"alias": "",
|
|
2064
|
+
"options": [],
|
|
2065
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
2066
|
+
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got 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",
|
|
2067
|
+
"group": "collaborate",
|
|
2068
|
+
"private": true,
|
|
2069
|
+
"remoteOp": true
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "export [component-patterns...]",
|
|
2073
|
+
"alias": "e",
|
|
2074
|
+
"options": [
|
|
2075
|
+
[
|
|
2076
|
+
"e",
|
|
2077
|
+
"eject",
|
|
2078
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
2079
|
+
],
|
|
2080
|
+
[
|
|
2081
|
+
"a",
|
|
2082
|
+
"all",
|
|
2083
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2084
|
+
],
|
|
2085
|
+
[
|
|
2086
|
+
"",
|
|
2087
|
+
"all-versions",
|
|
2088
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2089
|
+
],
|
|
2090
|
+
[
|
|
2091
|
+
"",
|
|
2092
|
+
"origin-directly",
|
|
2093
|
+
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2094
|
+
],
|
|
2095
|
+
[
|
|
2096
|
+
"",
|
|
2097
|
+
"resume <string>",
|
|
2098
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
2099
|
+
],
|
|
2100
|
+
[
|
|
2101
|
+
"",
|
|
2102
|
+
"ignore-missing-artifacts",
|
|
2103
|
+
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2104
|
+
],
|
|
2105
|
+
[
|
|
2106
|
+
"j",
|
|
2107
|
+
"json",
|
|
2108
|
+
"show output in json format"
|
|
2109
|
+
]
|
|
2110
|
+
],
|
|
2111
|
+
"description": "export components from the workspace to remote scopes",
|
|
2112
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n 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)",
|
|
2113
|
+
"group": "collaborate",
|
|
2114
|
+
"private": false,
|
|
2115
|
+
"remoteOp": true,
|
|
2116
|
+
"arguments": [
|
|
2117
|
+
{
|
|
2118
|
+
"name": "component-patterns...",
|
|
2119
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
2120
|
+
}
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2118
2123
|
{
|
|
2119
2124
|
"name": "insights [names...]",
|
|
2120
2125
|
"alias": "",
|
|
@@ -2918,7 +2918,20 @@ function MDXContent(_ref) {
|
|
|
2918
2918
|
}), (0, _react2.mdx)("td", {
|
|
2919
2919
|
parentName: "tr",
|
|
2920
2920
|
"align": null
|
|
2921
|
-
}, "fetch dependencies objects"))
|
|
2921
|
+
}, "fetch dependencies objects")), (0, _react2.mdx)("tr", {
|
|
2922
|
+
parentName: "tbody"
|
|
2923
|
+
}, (0, _react2.mdx)("td", {
|
|
2924
|
+
parentName: "tr",
|
|
2925
|
+
"align": null
|
|
2926
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2927
|
+
parentName: "td"
|
|
2928
|
+
}, "--track-only")), (0, _react2.mdx)("td", {
|
|
2929
|
+
parentName: "tr",
|
|
2930
|
+
"align": "center"
|
|
2931
|
+
}), (0, _react2.mdx)("td", {
|
|
2932
|
+
parentName: "tr",
|
|
2933
|
+
"align": null
|
|
2934
|
+
}, "do not write any file, just create .bitmap entries of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "init"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2922
2935
|
parentName: "p"
|
|
2923
2936
|
}, "Description"), ": create or reinitialize an empty workspace", (0, _react2.mdx)("br", {
|
|
2924
2937
|
parentName: "p"
|