@teambit/harmony.content.cli-reference 1.95.75 → 1.95.76
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 +331 -235
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.json +331 -235
- package/dist/cli-reference.mdx.js +14 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.76.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1663904275528.js → preview-1663990632780.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.75.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1571,6 +1571,226 @@
|
|
|
1571
1571
|
}
|
|
1572
1572
|
]
|
|
1573
1573
|
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "create <template-name> <component-names...>",
|
|
1576
|
+
"alias": "",
|
|
1577
|
+
"options": [
|
|
1578
|
+
[
|
|
1579
|
+
"n",
|
|
1580
|
+
"namespace <string>",
|
|
1581
|
+
"sets the component's namespace and nested dirs inside the scope"
|
|
1582
|
+
],
|
|
1583
|
+
[
|
|
1584
|
+
"s",
|
|
1585
|
+
"scope <string>",
|
|
1586
|
+
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1587
|
+
],
|
|
1588
|
+
[
|
|
1589
|
+
"a",
|
|
1590
|
+
"aspect <string>",
|
|
1591
|
+
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1592
|
+
],
|
|
1593
|
+
[
|
|
1594
|
+
"p",
|
|
1595
|
+
"path <string>",
|
|
1596
|
+
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
1597
|
+
],
|
|
1598
|
+
[
|
|
1599
|
+
"e",
|
|
1600
|
+
"env <string>",
|
|
1601
|
+
"set the component's environment. (overrides the env from variants and the template)"
|
|
1602
|
+
]
|
|
1603
|
+
],
|
|
1604
|
+
"description": "create a new component (source files and config) using a template.",
|
|
1605
|
+
"extendedDescription": "",
|
|
1606
|
+
"group": "development",
|
|
1607
|
+
"private": false,
|
|
1608
|
+
"arguments": [
|
|
1609
|
+
{
|
|
1610
|
+
"name": "template-name",
|
|
1611
|
+
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"name": "component-names...",
|
|
1615
|
+
"description": "a list of component names to generate"
|
|
1616
|
+
}
|
|
1617
|
+
],
|
|
1618
|
+
"examples": [
|
|
1619
|
+
{
|
|
1620
|
+
"cmd": "bit create react ui/button",
|
|
1621
|
+
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"cmd": "bit create react ui/button pages/register",
|
|
1625
|
+
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
1629
|
+
"description": "creates a component named 'ui/button' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
1633
|
+
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
1634
|
+
}
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"name": "templates",
|
|
1639
|
+
"alias": "",
|
|
1640
|
+
"options": [
|
|
1641
|
+
[
|
|
1642
|
+
"s",
|
|
1643
|
+
"show-all",
|
|
1644
|
+
"show hidden templates"
|
|
1645
|
+
]
|
|
1646
|
+
],
|
|
1647
|
+
"description": "list templates for \"bit create\" and \"bit new\"",
|
|
1648
|
+
"extendedDescription": "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)",
|
|
1649
|
+
"group": "development",
|
|
1650
|
+
"private": false
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "new <template-name> <workspace-name>",
|
|
1654
|
+
"alias": "",
|
|
1655
|
+
"options": [
|
|
1656
|
+
[
|
|
1657
|
+
"a",
|
|
1658
|
+
"aspect <aspect-id>",
|
|
1659
|
+
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1660
|
+
],
|
|
1661
|
+
[
|
|
1662
|
+
"d",
|
|
1663
|
+
"default-scope <scope-name>",
|
|
1664
|
+
"set defaultScope in the new workspace.jsonc"
|
|
1665
|
+
],
|
|
1666
|
+
[
|
|
1667
|
+
"",
|
|
1668
|
+
"standalone",
|
|
1669
|
+
"DEPRECATED. use --skip-git instead"
|
|
1670
|
+
],
|
|
1671
|
+
[
|
|
1672
|
+
"s",
|
|
1673
|
+
"skip-git",
|
|
1674
|
+
"skip generation of Git repository"
|
|
1675
|
+
],
|
|
1676
|
+
[
|
|
1677
|
+
"e",
|
|
1678
|
+
"empty",
|
|
1679
|
+
"empty workspace with no components (relevant for templates that add components by default)"
|
|
1680
|
+
],
|
|
1681
|
+
[
|
|
1682
|
+
"",
|
|
1683
|
+
"load-from <path-to-template>",
|
|
1684
|
+
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
1685
|
+
]
|
|
1686
|
+
],
|
|
1687
|
+
"description": "create a new workspace from a template",
|
|
1688
|
+
"extendedDescription": "",
|
|
1689
|
+
"group": "start",
|
|
1690
|
+
"private": false,
|
|
1691
|
+
"arguments": [
|
|
1692
|
+
{
|
|
1693
|
+
"name": "template-name",
|
|
1694
|
+
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "workspace-name",
|
|
1698
|
+
"description": "the name for the new workspace and workspace directory"
|
|
1699
|
+
}
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "build [component-pattern]",
|
|
1704
|
+
"alias": "",
|
|
1705
|
+
"options": [
|
|
1706
|
+
[
|
|
1707
|
+
"a",
|
|
1708
|
+
"all",
|
|
1709
|
+
"build all components, not only modified and new"
|
|
1710
|
+
],
|
|
1711
|
+
[
|
|
1712
|
+
"d",
|
|
1713
|
+
"dev",
|
|
1714
|
+
"run the pipeline in dev mode"
|
|
1715
|
+
],
|
|
1716
|
+
[
|
|
1717
|
+
"",
|
|
1718
|
+
"install",
|
|
1719
|
+
"install core aspects in capsules"
|
|
1720
|
+
],
|
|
1721
|
+
[
|
|
1722
|
+
"",
|
|
1723
|
+
"reuse-capsules",
|
|
1724
|
+
"avoid deleting the capsules root-dir before starting the build"
|
|
1725
|
+
],
|
|
1726
|
+
[
|
|
1727
|
+
"",
|
|
1728
|
+
"tasks <string>",
|
|
1729
|
+
"build the specified task(s) only. for multiple tasks, separate by a comma and wrap with quotes.\nspecify the task-name (e.g. \"TypescriptCompiler\") or the task-aspect-id (e.g. teambit.compilation/compiler)"
|
|
1730
|
+
],
|
|
1731
|
+
[
|
|
1732
|
+
"",
|
|
1733
|
+
"cache-packages-on-capsule-root",
|
|
1734
|
+
"set the package-manager cache on the capsule root"
|
|
1735
|
+
],
|
|
1736
|
+
[
|
|
1737
|
+
"",
|
|
1738
|
+
"list-tasks <string>",
|
|
1739
|
+
"list tasks of an env or a component-id for each one of the pipelines: build, tag and snap"
|
|
1740
|
+
],
|
|
1741
|
+
[
|
|
1742
|
+
"",
|
|
1743
|
+
"skip-tests",
|
|
1744
|
+
"skip running component tests during tag process"
|
|
1745
|
+
]
|
|
1746
|
+
],
|
|
1747
|
+
"description": "run set of tasks for build",
|
|
1748
|
+
"extendedDescription": "",
|
|
1749
|
+
"group": "development",
|
|
1750
|
+
"private": false,
|
|
1751
|
+
"arguments": [
|
|
1752
|
+
{
|
|
1753
|
+
"name": "component-pattern",
|
|
1754
|
+
"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"
|
|
1755
|
+
}
|
|
1756
|
+
]
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "artifacts <component-pattern>",
|
|
1760
|
+
"alias": "",
|
|
1761
|
+
"options": [
|
|
1762
|
+
[
|
|
1763
|
+
"",
|
|
1764
|
+
"aspect <aspect-id>",
|
|
1765
|
+
"show/download only artifacts generated by this aspect-id"
|
|
1766
|
+
],
|
|
1767
|
+
[
|
|
1768
|
+
"",
|
|
1769
|
+
"task <task-id>",
|
|
1770
|
+
"show/download only artifacts generated by this task-id"
|
|
1771
|
+
],
|
|
1772
|
+
[
|
|
1773
|
+
"",
|
|
1774
|
+
"files <glob>",
|
|
1775
|
+
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
1776
|
+
],
|
|
1777
|
+
[
|
|
1778
|
+
"",
|
|
1779
|
+
"out-dir <string>",
|
|
1780
|
+
"download the files to the specified dir"
|
|
1781
|
+
]
|
|
1782
|
+
],
|
|
1783
|
+
"description": "EXPERIMENTAL. list and download components artifacts",
|
|
1784
|
+
"extendedDescription": "artifacts are created on isolated capsules during tag or snap commands.\nexample of artifacts are dists files generated by a compiler, a JUnit.xml file generated by a tester\nand a package.tgz file generated by pkg aspect.\n",
|
|
1785
|
+
"group": "development",
|
|
1786
|
+
"private": false,
|
|
1787
|
+
"arguments": [
|
|
1788
|
+
{
|
|
1789
|
+
"name": "component-pattern",
|
|
1790
|
+
"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"
|
|
1791
|
+
}
|
|
1792
|
+
]
|
|
1793
|
+
},
|
|
1574
1794
|
{
|
|
1575
1795
|
"name": "insights [names...]",
|
|
1576
1796
|
"alias": "",
|
|
@@ -1841,34 +2061,125 @@
|
|
|
1841
2061
|
],
|
|
1842
2062
|
[
|
|
1843
2063
|
"",
|
|
1844
|
-
"head",
|
|
1845
|
-
"revert the head tag/snap only (by default, all local tags/snaps are reverted)"
|
|
2064
|
+
"head",
|
|
2065
|
+
"revert the head tag/snap only (by default, all local tags/snaps are reverted)"
|
|
2066
|
+
],
|
|
2067
|
+
[
|
|
2068
|
+
"",
|
|
2069
|
+
"soft",
|
|
2070
|
+
"revert only soft-tags (components tagged with --soft flag)"
|
|
2071
|
+
],
|
|
2072
|
+
[
|
|
2073
|
+
"f",
|
|
2074
|
+
"force",
|
|
2075
|
+
"revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt"
|
|
2076
|
+
]
|
|
2077
|
+
],
|
|
2078
|
+
"description": "revert tagged or snapped versions for component(s)",
|
|
2079
|
+
"extendedDescription": "https://bit.dev/docs/components/tags#undoing-a-tag",
|
|
2080
|
+
"group": "development",
|
|
2081
|
+
"private": false,
|
|
2082
|
+
"arguments": [
|
|
2083
|
+
{
|
|
2084
|
+
"name": "component-pattern",
|
|
2085
|
+
"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"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "component-version",
|
|
2089
|
+
"description": "the version to untag (semver for tags. hash for snaps)"
|
|
2090
|
+
}
|
|
2091
|
+
]
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "_tag <component-id...>",
|
|
2095
|
+
"alias": "",
|
|
2096
|
+
"options": [
|
|
2097
|
+
[
|
|
2098
|
+
"",
|
|
2099
|
+
"push",
|
|
2100
|
+
"export the updated objects to the original scopes once done"
|
|
2101
|
+
],
|
|
2102
|
+
[
|
|
2103
|
+
"m",
|
|
2104
|
+
"message <message>",
|
|
2105
|
+
"a log message describing latest changes"
|
|
2106
|
+
],
|
|
2107
|
+
[
|
|
2108
|
+
"v",
|
|
2109
|
+
"ver <version>",
|
|
2110
|
+
"tag with the given version"
|
|
2111
|
+
],
|
|
2112
|
+
[
|
|
2113
|
+
"l",
|
|
2114
|
+
"increment <level>",
|
|
2115
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
2116
|
+
],
|
|
2117
|
+
[
|
|
2118
|
+
"",
|
|
2119
|
+
"prerelease-id <id>",
|
|
2120
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
2121
|
+
],
|
|
2122
|
+
[
|
|
2123
|
+
"p",
|
|
2124
|
+
"patch",
|
|
2125
|
+
"syntactic sugar for \"--increment patch\""
|
|
2126
|
+
],
|
|
2127
|
+
[
|
|
2128
|
+
"",
|
|
2129
|
+
"minor",
|
|
2130
|
+
"syntactic sugar for \"--increment minor\""
|
|
2131
|
+
],
|
|
2132
|
+
[
|
|
2133
|
+
"",
|
|
2134
|
+
"major",
|
|
2135
|
+
"syntactic sugar for \"--increment major\""
|
|
2136
|
+
],
|
|
2137
|
+
[
|
|
2138
|
+
"",
|
|
2139
|
+
"pre-release [identifier]",
|
|
2140
|
+
"syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
|
|
2141
|
+
],
|
|
2142
|
+
[
|
|
2143
|
+
"",
|
|
2144
|
+
"skip-tests",
|
|
2145
|
+
"skip running component tests during tag process"
|
|
2146
|
+
],
|
|
2147
|
+
[
|
|
2148
|
+
"",
|
|
2149
|
+
"disable-tag-pipeline",
|
|
2150
|
+
"skip the tag pipeline to avoid publishing the components"
|
|
2151
|
+
],
|
|
2152
|
+
[
|
|
2153
|
+
"",
|
|
2154
|
+
"force-deploy",
|
|
2155
|
+
"run the tag pipeline although the build failed"
|
|
1846
2156
|
],
|
|
1847
2157
|
[
|
|
1848
2158
|
"",
|
|
1849
|
-
"
|
|
1850
|
-
"
|
|
2159
|
+
"increment-by <number>",
|
|
2160
|
+
"(default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3."
|
|
1851
2161
|
],
|
|
1852
2162
|
[
|
|
1853
|
-
"
|
|
1854
|
-
"
|
|
1855
|
-
"
|
|
2163
|
+
"i",
|
|
2164
|
+
"ignore-issues [issues]",
|
|
2165
|
+
"ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingComponents, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, CustomModuleResolutionUsed, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
|
|
2166
|
+
],
|
|
2167
|
+
[
|
|
2168
|
+
"I",
|
|
2169
|
+
"ignore-newest-version",
|
|
2170
|
+
"ignore existing of newer versions (default = false)"
|
|
2171
|
+
],
|
|
2172
|
+
[
|
|
2173
|
+
"b",
|
|
2174
|
+
"build",
|
|
2175
|
+
"EXPERIMENTAL. not needed for now. run the pipeline build and complete the tag"
|
|
1856
2176
|
]
|
|
1857
2177
|
],
|
|
1858
|
-
"description": "
|
|
1859
|
-
"extendedDescription": "
|
|
2178
|
+
"description": "create an immutable and exportable component snapshot, tagged with a release version.",
|
|
2179
|
+
"extendedDescription": "you can specify a version per id using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
|
|
1860
2180
|
"group": "development",
|
|
1861
|
-
"private":
|
|
1862
|
-
"
|
|
1863
|
-
{
|
|
1864
|
-
"name": "component-pattern",
|
|
1865
|
-
"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"
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"name": "component-version",
|
|
1869
|
-
"description": "the version to untag (semver for tags. hash for snaps)"
|
|
1870
|
-
}
|
|
1871
|
-
]
|
|
2181
|
+
"private": true,
|
|
2182
|
+
"remoteOp": true
|
|
1872
2183
|
},
|
|
1873
2184
|
{
|
|
1874
2185
|
"name": "merge [values...]",
|
|
@@ -2524,221 +2835,6 @@
|
|
|
2524
2835
|
"remoteOp": true,
|
|
2525
2836
|
"skipWorkspace": true
|
|
2526
2837
|
},
|
|
2527
|
-
{
|
|
2528
|
-
"name": "create <template-name> <component-names...>",
|
|
2529
|
-
"alias": "",
|
|
2530
|
-
"options": [
|
|
2531
|
-
[
|
|
2532
|
-
"n",
|
|
2533
|
-
"namespace <string>",
|
|
2534
|
-
"sets the component's namespace and nested dirs inside the scope"
|
|
2535
|
-
],
|
|
2536
|
-
[
|
|
2537
|
-
"s",
|
|
2538
|
-
"scope <string>",
|
|
2539
|
-
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
2540
|
-
],
|
|
2541
|
-
[
|
|
2542
|
-
"a",
|
|
2543
|
-
"aspect <string>",
|
|
2544
|
-
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
2545
|
-
],
|
|
2546
|
-
[
|
|
2547
|
-
"p",
|
|
2548
|
-
"path <string>",
|
|
2549
|
-
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
2550
|
-
],
|
|
2551
|
-
[
|
|
2552
|
-
"e",
|
|
2553
|
-
"env <string>",
|
|
2554
|
-
"set the component's environment. (overrides the env from variants and the template)"
|
|
2555
|
-
]
|
|
2556
|
-
],
|
|
2557
|
-
"description": "create a new component (source files and config) using a template.",
|
|
2558
|
-
"extendedDescription": "",
|
|
2559
|
-
"group": "development",
|
|
2560
|
-
"private": false,
|
|
2561
|
-
"arguments": [
|
|
2562
|
-
{
|
|
2563
|
-
"name": "template-name",
|
|
2564
|
-
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
2565
|
-
},
|
|
2566
|
-
{
|
|
2567
|
-
"name": "component-names...",
|
|
2568
|
-
"description": "a list of component names to generate"
|
|
2569
|
-
}
|
|
2570
|
-
],
|
|
2571
|
-
"examples": [
|
|
2572
|
-
{
|
|
2573
|
-
"cmd": "bit create react ui/button",
|
|
2574
|
-
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
2575
|
-
},
|
|
2576
|
-
{
|
|
2577
|
-
"cmd": "bit create react ui/button pages/register",
|
|
2578
|
-
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
2579
|
-
},
|
|
2580
|
-
{
|
|
2581
|
-
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
2582
|
-
"description": "creates a component named 'ui/button' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
2583
|
-
},
|
|
2584
|
-
{
|
|
2585
|
-
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
2586
|
-
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
2587
|
-
}
|
|
2588
|
-
]
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"name": "templates",
|
|
2592
|
-
"alias": "",
|
|
2593
|
-
"options": [
|
|
2594
|
-
[
|
|
2595
|
-
"s",
|
|
2596
|
-
"show-all",
|
|
2597
|
-
"show hidden templates"
|
|
2598
|
-
]
|
|
2599
|
-
],
|
|
2600
|
-
"description": "list templates for \"bit create\" and \"bit new\"",
|
|
2601
|
-
"extendedDescription": "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)",
|
|
2602
|
-
"group": "development",
|
|
2603
|
-
"private": false
|
|
2604
|
-
},
|
|
2605
|
-
{
|
|
2606
|
-
"name": "new <template-name> <workspace-name>",
|
|
2607
|
-
"alias": "",
|
|
2608
|
-
"options": [
|
|
2609
|
-
[
|
|
2610
|
-
"a",
|
|
2611
|
-
"aspect <aspect-id>",
|
|
2612
|
-
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
2613
|
-
],
|
|
2614
|
-
[
|
|
2615
|
-
"d",
|
|
2616
|
-
"default-scope <scope-name>",
|
|
2617
|
-
"set defaultScope in the new workspace.jsonc"
|
|
2618
|
-
],
|
|
2619
|
-
[
|
|
2620
|
-
"",
|
|
2621
|
-
"standalone",
|
|
2622
|
-
"DEPRECATED. use --skip-git instead"
|
|
2623
|
-
],
|
|
2624
|
-
[
|
|
2625
|
-
"s",
|
|
2626
|
-
"skip-git",
|
|
2627
|
-
"skip generation of Git repository"
|
|
2628
|
-
],
|
|
2629
|
-
[
|
|
2630
|
-
"e",
|
|
2631
|
-
"empty",
|
|
2632
|
-
"empty workspace with no components (relevant for templates that add components by default)"
|
|
2633
|
-
],
|
|
2634
|
-
[
|
|
2635
|
-
"",
|
|
2636
|
-
"load-from <path-to-template>",
|
|
2637
|
-
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
2638
|
-
]
|
|
2639
|
-
],
|
|
2640
|
-
"description": "create a new workspace from a template",
|
|
2641
|
-
"extendedDescription": "",
|
|
2642
|
-
"group": "start",
|
|
2643
|
-
"private": false,
|
|
2644
|
-
"arguments": [
|
|
2645
|
-
{
|
|
2646
|
-
"name": "template-name",
|
|
2647
|
-
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
"name": "workspace-name",
|
|
2651
|
-
"description": "the name for the new workspace and workspace directory"
|
|
2652
|
-
}
|
|
2653
|
-
]
|
|
2654
|
-
},
|
|
2655
|
-
{
|
|
2656
|
-
"name": "build [component-pattern]",
|
|
2657
|
-
"alias": "",
|
|
2658
|
-
"options": [
|
|
2659
|
-
[
|
|
2660
|
-
"a",
|
|
2661
|
-
"all",
|
|
2662
|
-
"build all components, not only modified and new"
|
|
2663
|
-
],
|
|
2664
|
-
[
|
|
2665
|
-
"d",
|
|
2666
|
-
"dev",
|
|
2667
|
-
"run the pipeline in dev mode"
|
|
2668
|
-
],
|
|
2669
|
-
[
|
|
2670
|
-
"",
|
|
2671
|
-
"install",
|
|
2672
|
-
"install core aspects in capsules"
|
|
2673
|
-
],
|
|
2674
|
-
[
|
|
2675
|
-
"",
|
|
2676
|
-
"reuse-capsules",
|
|
2677
|
-
"avoid deleting the capsules root-dir before starting the build"
|
|
2678
|
-
],
|
|
2679
|
-
[
|
|
2680
|
-
"",
|
|
2681
|
-
"tasks <string>",
|
|
2682
|
-
"build the specified task(s) only. for multiple tasks, separate by a comma and wrap with quotes.\nspecify the task-name (e.g. \"TypescriptCompiler\") or the task-aspect-id (e.g. teambit.compilation/compiler)"
|
|
2683
|
-
],
|
|
2684
|
-
[
|
|
2685
|
-
"",
|
|
2686
|
-
"cache-packages-on-capsule-root",
|
|
2687
|
-
"set the package-manager cache on the capsule root"
|
|
2688
|
-
],
|
|
2689
|
-
[
|
|
2690
|
-
"",
|
|
2691
|
-
"list-tasks <string>",
|
|
2692
|
-
"list tasks of an env or a component-id for each one of the pipelines: build, tag and snap"
|
|
2693
|
-
]
|
|
2694
|
-
],
|
|
2695
|
-
"description": "run set of tasks for build",
|
|
2696
|
-
"extendedDescription": "",
|
|
2697
|
-
"group": "development",
|
|
2698
|
-
"private": false,
|
|
2699
|
-
"arguments": [
|
|
2700
|
-
{
|
|
2701
|
-
"name": "component-pattern",
|
|
2702
|
-
"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"
|
|
2703
|
-
}
|
|
2704
|
-
]
|
|
2705
|
-
},
|
|
2706
|
-
{
|
|
2707
|
-
"name": "artifacts <component-pattern>",
|
|
2708
|
-
"alias": "",
|
|
2709
|
-
"options": [
|
|
2710
|
-
[
|
|
2711
|
-
"",
|
|
2712
|
-
"aspect <aspect-id>",
|
|
2713
|
-
"show/download only artifacts generated by this aspect-id"
|
|
2714
|
-
],
|
|
2715
|
-
[
|
|
2716
|
-
"",
|
|
2717
|
-
"task <task-id>",
|
|
2718
|
-
"show/download only artifacts generated by this task-id"
|
|
2719
|
-
],
|
|
2720
|
-
[
|
|
2721
|
-
"",
|
|
2722
|
-
"files <glob>",
|
|
2723
|
-
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
2724
|
-
],
|
|
2725
|
-
[
|
|
2726
|
-
"",
|
|
2727
|
-
"out-dir <string>",
|
|
2728
|
-
"download the files to the specified dir"
|
|
2729
|
-
]
|
|
2730
|
-
],
|
|
2731
|
-
"description": "EXPERIMENTAL. list and download components artifacts",
|
|
2732
|
-
"extendedDescription": "artifacts are created on isolated capsules during tag or snap commands.\nexample of artifacts are dists files generated by a compiler, a JUnit.xml file generated by a tester\nand a package.tgz file generated by pkg aspect.\n",
|
|
2733
|
-
"group": "development",
|
|
2734
|
-
"private": false,
|
|
2735
|
-
"arguments": [
|
|
2736
|
-
{
|
|
2737
|
-
"name": "component-pattern",
|
|
2738
|
-
"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"
|
|
2739
|
-
}
|
|
2740
|
-
]
|
|
2741
|
-
},
|
|
2742
2838
|
{
|
|
2743
2839
|
"name": "pack <componentId> [scopePath]",
|
|
2744
2840
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -142,6 +142,7 @@ and a package.tgz file generated by pkg aspect.
|
|
|
142
142
|
| specify the task-name (e.g. "TypescriptCompiler") or the task-aspect-id (e.g. teambit.compilation/compiler) |
|
|
143
143
|
| `--cache-packages-on-capsule-root` | | set the package-manager cache on the capsule root |
|
|
144
144
|
| `--list-tasks <string>` | | list tasks of an env or a component-id for each one of the pipelines: build, tag and snap |
|
|
145
|
+
| `--skip-tests` | | skip running component tests during tag process |
|
|
145
146
|
|
|
146
147
|
---
|
|
147
148
|
|