Skip to content

Commit ba89306

Browse files
Introduce QR service (#2694)
* Introduce QR service * Comply proxy-set help with functionality
1 parent c2513cb commit ba89306

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docs/man_pages/general/proxy-set.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ proxy set
33

44
Usage | Synopsis
55
------|-------
6-
General | `$ tns proxy set [<Hostname> [<Port><% if(isWindows) {%> [<Username> [<Password>]]<%}%>]]`
6+
General | `$ tns proxy set [<Url> <% if(isWindows) {%>[<Username> [<Password>]]<%}%>]`
77

88
Sets proxy settings.
99

10+
### Options
11+
* `--insecure` - Allows insecure SSL connections and transfers to be performed. In case your proxy doesn't have a CA certificate or has an invalid one you need to use this flag.
12+
1013
### Attributes
11-
* `<Hostname>` the hostname of the proxy. If you do not provide this when running the command, the NativeScript CLI will prompt you to provide it.
12-
* `<Port>` the port of the proxy. If you do not provide this when running the command, the NativeScript CLI will prompt you to provide it.
14+
* `<Url>` the full url of the proxy. For example http://127.0.0.1:8888 If you do not provide this when running the command, the NativeScript CLI will prompt you to provide it.
1315
<% if(isWindows) {%>
1416
* `<Username>` and `<Password>` are your credentials for the proxy. These are not necessary, however if you provide a `<Username>` you need to provide a `<Password>` too.
1517
<% } %>

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
"plistlib": "0.2.1",
6363
"progress-stream": "1.1.1",
6464
"properties-parser": "0.2.3",
65+
"qrcode-generator": "1.0.0",
66+
"request": "2.81.0",
6567
"semver": "5.3.0",
6668
"shelljs": "0.7.6",
6769
"source-map": "0.5.6",
@@ -82,6 +84,7 @@
8284
"@types/chai-as-promised": "0.0.29",
8385
"@types/lodash": "4.14.50",
8486
"@types/node": "6.0.61",
87+
"@types/request": "0.0.42",
8588
"@types/semver": "^5.3.31",
8689
"@types/source-map": "0.5.0",
8790
"chai": "3.5.0",

0 commit comments

Comments
 (0)