Skip to content

Commit 077ac52

Browse files
Merge pull request #4214 from NativeScript/fatme/package-manager-doc
docs: add docs for `package-manager get` and `package-manager set`
2 parents d8d2f40 + 7ba76df commit 077ac52

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<% if (isJekyll) { %>---
2+
title: tns package-manager get
3+
position: 18
4+
---<% } %>
5+
6+
# tns package-manager get
7+
8+
### Description
9+
10+
Prints the value of the current package manager.
11+
12+
### Commands
13+
14+
Usage | Synopsis
15+
------|-------
16+
General | `$ tns package-manager get`
17+
18+
<% if(isHtml) { %>
19+
20+
### Related Commands
21+
22+
Command | Description
23+
----------|----------
24+
[package-manager-set](package-manager-set.html) | Enables the specified package manager for the NativeScript CLI. Supported values are npm and yarn.
25+
<% } %>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<% if (isJekyll) { %>---
2+
title: tns package-manager set
3+
position: 17
4+
---<% } %>
5+
6+
# tns package-manager set
7+
8+
### Description
9+
10+
Enables the specified package manager for the NativeScript CLI. Supported values are npm and yarn.
11+
12+
### Commands
13+
14+
Usage | Synopsis
15+
------|-------
16+
General | `$ tns package-manager set <PackageManager>`
17+
18+
### Arguments
19+
20+
* `<PackageManager>` is the name of the package manager. Supported values are npm and yarn.
21+
22+
<% if(isHtml) { %>
23+
24+
### Related Commands
25+
26+
Command | Description
27+
----------|----------
28+
[package-manager-get](package-manager-get.html) | Prints the value of the current package manager.
29+
<% } %>

0 commit comments

Comments
 (0)