You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli.js
+28-11
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,38 @@ const program = new commander.Command();
4
4
5
5
program
6
6
.option('-q, --quiet','Non-interactive, output refresh_token on StdOut and exit')
7
-
.option('-l, --logger <log target>','Where to log to',console.error)
8
-
.option('-p, --amazonPage <page>','optional: possible to use with different countries, default is "amazon.de"')
9
-
.option('-b, --baseAmazonPage <amazon.com|amazon.co.jp>','optional: Change the Proxy Amazon Page - all "western countries" directly use amazon.com! Change to amazon.co.jp for Japan')
10
-
.option('-a, --amazonPageProxyLanguage <lang>','optional: language to be used for the Amazon Sign-in page the proxy calls. default is "de_DE"')
11
-
.option('-L, --acceptLanguage <lang>','optional: webpage language, should match to amazon-Page, default is "de-DE"')
12
-
.option('-u, --userAgent <Browser>','optional: own userAgent to use for all request, overwrites default one, should not be needed')
13
-
.option('-H, --proxyOwnIp <hostname>','provide own IP or hostname to later access the proxy. needed to setup all rewriting and proxy stuff internally','localhost')
7
+
.option('-d, --debug')
8
+
.option('-A, --deviceAppName <AppName>','optional: Name of the Device registered with the Alexa app','alexa_cookie_cli')
9
+
.option('-p, --amazonPage <page>','optional: possible to use with different countries, default is "amazon.de"','amazon.de')
10
+
.option('-b, --baseAmazonPage <amazon.com|amazon.co.jp>','optional: Change the Proxy Amazon Page - all "western countries" directly use amazon.com! Change to amazon.co.jp for Japan','amazon.com')
11
+
.option('-a, --amazonPageProxyLanguage <lang>','optional: language to be used for the Amazon Sign-in page the proxy calls. default is "de_DE"','de_DE')
12
+
.option('-L, --acceptLanguage <lang>','optional: webpage language, should match to amazon-Page, default is "de-DE"','de-DE')
13
+
.option('-H, --proxyOwnIp <IP of localhost>','provide own IP(!) to later access the proxy. needed to setup all rewriting and proxy stuff internally','127.0.0.1')
14
14
.option('-P, --proxyPort <port>','optional: use this port for the proxy, default is 8080',8080)
15
-
.option('-B, --proxyListenBind <IP>','optional: set this to bind the proxy to a special IP, default is "0.0.0.0"')
16
-
.option('-V, --proxyLogLevel <error|warn|info|debug>','optional: Loglevel of Proxy, default "warn"');
15
+
.option('-B, --proxyListenBind <IP>','optional: set this to bind the proxy to a special IP, default is "0.0.0.0"','0.0.0.0')
0 commit comments