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
description: "The access token of the specific Chatwoot inbox you set up for this session"
39
+
},
40
+
{
41
+
name: 'port',
42
+
alias: 'p',
43
+
default: 8002,
44
+
type: Number,
45
+
typeLabel: '{blue {underline 8080}}',
46
+
description: "Set the port for the api. Default to 8002."
47
+
},
48
+
{
49
+
name: 'api-host',
50
+
type: String,
51
+
typeLabel: '{yellow {underline localhost}}',
52
+
description: "The easy API may be sitting behind a reverse proxy. In this case set --api-host in order to make sure the api docs and api explorer are working properly. You will need to include the protocol as well."
53
+
},
54
+
{
55
+
name: 'host',
56
+
alias: 'h',
57
+
default: 'localhost',
58
+
type: String,
59
+
typeLabel: '{red {underline localhost}}',
60
+
description: "Set the hostname for the api documantation and statistics. Overrides --api-host. Default: localhost."
description: "Filters which namespaces trigger the webhook set in -e/--ev."
84
+
},
85
+
{
86
+
name: 'allow-session-data-wh',
87
+
alias: 'x',
88
+
default: false,
89
+
type: Boolean,
90
+
description: "By default, if you set -e flag, the session data is not transferred to the webhook as it is extremely sensitive data. In order to bypass this security measure, use this flag."
91
+
},
92
+
{
93
+
name: 'key',
94
+
alias: 'k',
95
+
type: String,
96
+
typeLabel: '{redBright {underline apikey}}',
97
+
description: "Specify an api key to use as a check for all requests. If you add -k by itself, a key will be autogenerated for you."
description: "The relative json file that contains the config. By default the system will look for config.json which will override any config variables set. Default: './config.json'."
105
+
},
106
+
{
107
+
name: 'session',
108
+
alias: 's',
109
+
type: String,
110
+
typeLabel: '{magentaBright {underline BASE64}}',
111
+
description: "A base64 string representing the session data."
112
+
},
113
+
{
114
+
name: 'keep-alive',
115
+
alias: 'a',
116
+
type: Boolean,
117
+
description: "If true, the system will force the session to refocus in this process. This will prevent you from opening a session elsewhere."
118
+
},
119
+
{
120
+
name: 'use-session-id-in-path',
121
+
alias: 'i',
122
+
type: Boolean,
123
+
description: "If true, all API paths will include the session id. default to false and the default session Id is 'session'."
124
+
},
125
+
{
126
+
name: 'generate-api-docs',
127
+
alias: 'd',
128
+
type: Boolean,
129
+
default: true,
130
+
description: "Generate postman collection and expose api docs to open in browser."
131
+
},
132
+
{
133
+
name: 'session-data-only',
134
+
alias: 'o',
135
+
type: Boolean,
136
+
description: "Kill the process when the session data is saved.",
137
+
default: false
138
+
},
139
+
{
140
+
name: 'skip-save-postman-collection',
141
+
type: Boolean,
142
+
description: "Don't save the postman collection.",
143
+
default: false
144
+
},
145
+
{
146
+
name: 'headful',
147
+
type: Boolean,
148
+
description: "Show the browser window on your machine.",
149
+
default: false
150
+
},
151
+
{
152
+
name: 'pre-auth-docs',
153
+
type: Boolean,
154
+
description: "Pre authenticate documentation site [High security risk]."
155
+
},
156
+
{
157
+
name: 'stats',
158
+
type: Boolean,
159
+
description: "Exposes API swagger-statistics.",
160
+
default: false
161
+
},
162
+
{
163
+
name: 'pre-auth-docs',
164
+
type: Boolean,
165
+
description: "Grab config options from the environment variables.",
166
+
default: false
167
+
},
168
+
{
169
+
name: 'no-kill-on-logout',
170
+
type: Boolean,
171
+
description: "Keeps the process alive when host account logs out of session. default is false",
172
+
default: false
173
+
},
174
+
{
175
+
name: 'debug',
176
+
type: Boolean,
177
+
description: "Print out the CLI flag values and the WA_* env vars. default is false",
178
+
default: false
179
+
},
180
+
{
181
+
name: 'cors',
182
+
type: Boolean,
183
+
description: "Enable all cors requests",
184
+
default: false
185
+
},
186
+
{
187
+
name: 'socket',
188
+
type: Boolean,
189
+
description: "Expose a socket.io middleware on the server.",
description: "The license key you want to use for this server. License keys are used to unlock features. Learn more here https://github.com/open-wa/wa-automate-nodejs#license-key"
0 commit comments