deploy.sh 1.0.0 → 3.0.0

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.
Files changed (161) hide show
  1. package/.claude/settings.local.json +36 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.yml +105 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.yml +56 -0
  5. package/.github/workflows/ci.yml +29 -0
  6. package/.github/workflows/pages.yml +48 -0
  7. package/.oxfmtrc.json +7 -0
  8. package/.oxlintrc.json +11 -0
  9. package/LICENSE +183 -183
  10. package/README.md +99 -11
  11. package/app/actions/deployments.ts +82 -0
  12. package/app/actions/metrics.ts +13 -0
  13. package/app/root.tsx +60 -0
  14. package/app/routes/dashboard/detail/history.tsx +73 -0
  15. package/app/routes/dashboard/detail/layout.tsx +125 -0
  16. package/app/routes/dashboard/detail/logs.tsx +85 -0
  17. package/app/routes/dashboard/detail/overview.tsx +119 -0
  18. package/app/routes/dashboard/detail/requests.tsx +163 -0
  19. package/app/routes/dashboard/detail/resources.tsx +268 -0
  20. package/app/routes/dashboard/detail/shared.tsx +59 -0
  21. package/app/routes/dashboard/index.tsx +360 -0
  22. package/app/routes/dashboard/layout.tsx +30 -0
  23. package/app/routes/docs/architecture.tsx +155 -0
  24. package/app/routes/docs/cli.tsx +122 -0
  25. package/app/routes/docs/deploying.tsx +105 -0
  26. package/app/routes/docs/index.tsx +104 -0
  27. package/app/routes/docs/layout.tsx +58 -0
  28. package/app/routes/home.tsx +134 -0
  29. package/app/routes/root.client.tsx +46 -0
  30. package/app/routes.ts +21 -0
  31. package/app/styles.css +15 -0
  32. package/app/theme.css +134 -0
  33. package/bin/deploy.js +360 -110
  34. package/docs-site/404.html +33 -0
  35. package/docs-site/home.tsx +130 -0
  36. package/docs-site/index.html +35 -0
  37. package/docs-site/layout.tsx +57 -0
  38. package/docs-site/main.tsx +41 -0
  39. package/docs-site/shell.tsx +34 -0
  40. package/docs-site/styles.css +4 -0
  41. package/drizzle.config.js +8 -0
  42. package/examples/docker/Dockerfile +5 -0
  43. package/examples/docker/server.js +18 -0
  44. package/examples/node/package.json +7 -0
  45. package/examples/node/pnpm-lock.yaml +9 -0
  46. package/examples/node/server.js +12 -0
  47. package/examples/static/index.html +48 -0
  48. package/package.json +41 -55
  49. package/public/favicon.ico +0 -0
  50. package/react-router-vite/entry.browser.tsx +49 -0
  51. package/react-router-vite/entry.rsc.single.tsx +7 -0
  52. package/react-router-vite/entry.rsc.tsx +36 -0
  53. package/react-router-vite/entry.ssr.tsx +29 -0
  54. package/react-router-vite/plugin.ts +114 -0
  55. package/react-router-vite/types.d.ts +11 -0
  56. package/react-router.config.ts +5 -0
  57. package/server/api.test.ts +344 -0
  58. package/server/api.ts +445 -0
  59. package/server/docker.ts +268 -0
  60. package/server/index.ts +17 -0
  61. package/server/metrics-collector.ts +29 -0
  62. package/server/schema.ts +56 -0
  63. package/server/store.test.ts +278 -0
  64. package/server/store.ts +398 -0
  65. package/tsconfig.json +21 -0
  66. package/vite.config.ts +45 -0
  67. package/vite.docs.config.ts +31 -0
  68. package/.eslintignore +0 -5
  69. package/.eslintrc +0 -23
  70. package/.travis.yml +0 -9
  71. package/.tryitout +0 -48
  72. package/CHANGELOG.md +0 -56
  73. package/bin/deploy-delete.js +0 -11
  74. package/bin/deploy-deploy.js +0 -31
  75. package/bin/deploy-list.js +0 -32
  76. package/bin/deploy-login.js +0 -39
  77. package/bin/deploy-logout.js +0 -12
  78. package/bin/deploy-logs.js +0 -19
  79. package/bin/deploy-open.js +0 -19
  80. package/bin/deploy-register.js +0 -40
  81. package/bin/deploy-server.js +0 -5
  82. package/bin/deploy-whoami.js +0 -12
  83. package/docs/code/CLI.html +0 -2901
  84. package/docs/code/Deployment.html +0 -2469
  85. package/docs/code/Request.html +0 -906
  86. package/docs/code/User.html +0 -1219
  87. package/docs/code/classifier.js.html +0 -121
  88. package/docs/code/deploy.js.html +0 -122
  89. package/docs/code/fonts/OpenSans-Bold-webfont.eot +0 -0
  90. package/docs/code/fonts/OpenSans-Bold-webfont.svg +0 -1830
  91. package/docs/code/fonts/OpenSans-Bold-webfont.woff +0 -0
  92. package/docs/code/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  93. package/docs/code/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  94. package/docs/code/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  95. package/docs/code/fonts/OpenSans-Italic-webfont.eot +0 -0
  96. package/docs/code/fonts/OpenSans-Italic-webfont.svg +0 -1830
  97. package/docs/code/fonts/OpenSans-Italic-webfont.woff +0 -0
  98. package/docs/code/fonts/OpenSans-Light-webfont.eot +0 -0
  99. package/docs/code/fonts/OpenSans-Light-webfont.svg +0 -1831
  100. package/docs/code/fonts/OpenSans-Light-webfont.woff +0 -0
  101. package/docs/code/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  102. package/docs/code/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  103. package/docs/code/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  104. package/docs/code/fonts/OpenSans-Regular-webfont.eot +0 -0
  105. package/docs/code/fonts/OpenSans-Regular-webfont.svg +0 -1831
  106. package/docs/code/fonts/OpenSans-Regular-webfont.woff +0 -0
  107. package/docs/code/fonts/OpenSans-Semibold-webfont.eot +0 -0
  108. package/docs/code/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  109. package/docs/code/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  110. package/docs/code/fonts/OpenSans-Semibold-webfont.woff +0 -0
  111. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  112. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  113. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  114. package/docs/code/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  115. package/docs/code/helpers_cli.js.html +0 -315
  116. package/docs/code/helpers_util.js.html +0 -194
  117. package/docs/code/index.html +0 -66
  118. package/docs/code/models_deployment.js.html +0 -515
  119. package/docs/code/models_request.js.html +0 -158
  120. package/docs/code/models_user.js.html +0 -198
  121. package/docs/code/module-lib_classifier.html +0 -246
  122. package/docs/code/module-lib_deploy.html +0 -350
  123. package/docs/code/module-lib_helpers_util.html +0 -707
  124. package/docs/code/scripts/linenumber.js +0 -25
  125. package/docs/code/scripts/prettify/Apache-License-2.0.txt +0 -202
  126. package/docs/code/scripts/prettify/lang-css.js +0 -2
  127. package/docs/code/scripts/prettify/prettify.js +0 -28
  128. package/docs/code/styles/jsdoc-default.css +0 -692
  129. package/docs/code/styles/prettify-jsdoc.css +0 -111
  130. package/docs/code/styles/prettify-tomorrow.css +0 -132
  131. package/docs/example.gif +0 -0
  132. package/docs/example.mov +0 -0
  133. package/docs/index.html +0 -4463
  134. package/docs/logo.png +0 -0
  135. package/docs/logo.pxm +0 -0
  136. package/docs/logo@2x.png +0 -0
  137. package/docs/main.css +0 -162
  138. package/docs/main.js +0 -53
  139. package/index.js +0 -55
  140. package/jsdoc.json +0 -27
  141. package/lib/classifier.js +0 -61
  142. package/lib/deploy.js +0 -62
  143. package/lib/helpers/cli.js +0 -255
  144. package/lib/helpers/util.js +0 -134
  145. package/lib/models/deployment.js +0 -455
  146. package/lib/models/request.js +0 -98
  147. package/lib/models/user.js +0 -138
  148. package/lib/server.js +0 -165
  149. package/lib/static/not-found.html +0 -30
  150. package/lib/static/page-could-not-load.html +0 -30
  151. package/lib/static/static-server.js +0 -69
  152. package/test/fixtures/docker/Dockerfile +0 -5
  153. package/test/fixtures/docker/index.js +0 -12
  154. package/test/fixtures/node/index.js +0 -8
  155. package/test/fixtures/node/package.json +0 -15
  156. package/test/fixtures/static/index.html +0 -14
  157. package/test/fixtures/static/main.css +0 -7
  158. package/test/fixtures/static/out.gifcd +0 -0
  159. package/test/fixtures/unknown/.gitkeep +0 -0
  160. package/test/lib/classifier.js +0 -51
  161. package/test/lib/helpers/util.js +0 -47
@@ -1,2901 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>CLI - Documentation</title>
7
-
8
- <script src="scripts/prettify/prettify.js"></script>
9
- <script src="scripts/prettify/lang-css.js"></script>
10
- <!--[if lt IE 9]>
11
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
12
- <![endif]-->
13
- <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
14
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
16
- </head>
17
- <body>
18
-
19
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
20
- <label for="nav-trigger" class="navicon-button x">
21
- <div class="navicon"></div>
22
- </label>
23
-
24
- <label for="nav-trigger" class="overlay"></label>
25
-
26
- <nav>
27
- <li class="nav-link nav-home-link"><a href="index.html">Home</a></li><li class="nav-heading">Classes</li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="CLI.html">CLI</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.cacheCredentials">cacheCredentials</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.createBundle">createBundle</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.deleteDeployment">deleteDeployment</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getCredentials">getCredentials</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getDeployments">getDeployments</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getLogs">getLogs</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.getUserDetails">getUserDetails</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.login">login</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.logout">logout</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.register">register</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.removeBundle">removeBundle</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="CLI.html#.uploadBundle">uploadBundle</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="Deployment.html">Deployment</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.decorate">decorate</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.del">del</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.get">get</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.getAll">getAll</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.logs">logs</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.proxy">proxy</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.remove">remove</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.start">start</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.stop">stop</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Deployment.html#.update">update</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="Request.html">Request</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Request.html#.count">count</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Request.html#.del">del</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="Request.html#.log">log</a></span></li><li class="nav-heading"><span class="nav-item-type type-class">C</span><span class="nav-item-name"><a href="User.html">User</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.authenticate">authenticate</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.authenticateMiddleware">authenticateMiddleware</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.login">login</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.logout">logout</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="User.html#.register">register</a></span></li><li class="nav-heading">Modules</li><li class="nav-heading"><span class="nav-item-type type-module">M</span><span class="nav-item-name"><a href="module-lib_classifier.html">lib/classifier</a></span></li><li class="nav-heading"><span class="nav-item-type type-module">M</span><span class="nav-item-name"><a href="module-lib_deploy.html">lib/deploy</a></span></li><li class="nav-heading"><span class="nav-item-type type-module">M</span><span class="nav-item-name"><a href="module-lib_helpers_util.html">lib/helpers/util</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#.mk">mk</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#~contains">contains</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#~getPort">getPort</a></span></li><li class="nav-item"><span class="nav-item-type type-function">F</span><span class="nav-item-name"><a href="module-lib_helpers_util.html#~hash">hash</a></span></li>
28
- </nav>
29
-
30
- <div id="main">
31
-
32
- <h1 class="page-title">CLI</h1>
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
- <section>
41
-
42
- <header>
43
-
44
- <h2>
45
- CLI
46
- </h2>
47
-
48
-
49
- </header>
50
-
51
- <article>
52
- <div class="container-overview">
53
-
54
-
55
- <div class="section-method">
56
-
57
-
58
-
59
- <h4 class="name" id="CLI"><span class="type-signature"></span>new CLI<span class="signature">(options)</span><span class="type-signature"></span></h4>
60
-
61
-
62
-
63
-
64
-
65
- <div class="description">
66
- <p>the cli instance that holds all options and methods to talk to the deploy.sh service</p>
67
- </div>
68
-
69
-
70
-
71
-
72
-
73
- <dl class="details">
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <dt class="tag-source">Source:</dt>
101
- <dd class="tag-source"><ul class="dummy"><li>
102
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line14">line 14</a>
103
- </li></ul></dd>
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
- </dl>
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
- <h5>Parameters:</h5>
122
-
123
-
124
- <table class="params">
125
- <thead>
126
- <tr>
127
-
128
- <th>Name</th>
129
-
130
-
131
- <th>Type</th>
132
-
133
-
134
-
135
-
136
-
137
- <th class="last">Description</th>
138
- </tr>
139
- </thead>
140
-
141
- <tbody>
142
-
143
-
144
- <tr>
145
-
146
- <td class="name"><code>options</code></td>
147
-
148
-
149
- <td class="type">
150
-
151
-
152
- <span class="param-type"><code>Object</code></span>
153
-
154
-
155
-
156
- </td>
157
-
158
-
159
-
160
-
161
-
162
- <td class="description last">
163
- <p>contains defaults and overrides</p>
164
-
165
-
166
-
167
- <table class="params">
168
- <thead>
169
- <tr>
170
-
171
- <th>Name</th>
172
-
173
-
174
- <th>Type</th>
175
-
176
-
177
-
178
-
179
-
180
- <th class="last">Description</th>
181
- </tr>
182
- </thead>
183
-
184
- <tbody>
185
-
186
-
187
- <tr>
188
-
189
- <td class="name"><code>url</code></td>
190
-
191
-
192
- <td class="type">
193
-
194
-
195
- <span class="param-type"><code>String</code></span>
196
-
197
-
198
-
199
- </td>
200
-
201
-
202
-
203
-
204
-
205
- <td class="description last">
206
- <p>the url of the remote deploy.sh service</p>
207
-
208
- </td>
209
- </tr>
210
-
211
-
212
-
213
- <tr>
214
-
215
- <td class="name"><code>application</code></td>
216
-
217
-
218
- <td class="type">
219
-
220
-
221
- <span class="param-type"><code>String</code></span>
222
-
223
-
224
-
225
- </td>
226
-
227
-
228
-
229
-
230
-
231
- <td class="description last">
232
- <p>the deployed application name to alter</p>
233
-
234
- </td>
235
- </tr>
236
-
237
-
238
-
239
- <tr>
240
-
241
- <td class="name"><code>mongo</code></td>
242
-
243
-
244
- <td class="type">
245
-
246
-
247
- <span class="param-type"><code>String</code></span>
248
-
249
-
250
-
251
- </td>
252
-
253
-
254
-
255
-
256
-
257
- <td class="description last">
258
- <p>the mongo connection string used by deploy.sh service when running <code>deploy serve --mongo ''</code></p>
259
-
260
- </td>
261
- </tr>
262
-
263
-
264
- </tbody>
265
- </table>
266
-
267
-
268
- </td>
269
- </tr>
270
-
271
-
272
- </tbody>
273
- </table>
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
- </div>
291
-
292
- </div>
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
- <h3 class="subsection-title">Methods</h3>
308
-
309
-
310
-
311
- <div class="section-method">
312
-
313
-
314
-
315
- <h4 class="name" id=".cacheCredentials"><span class="type-signature">(static) </span>cacheCredentials<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
316
-
317
-
318
-
319
-
320
-
321
- <div class="description">
322
- <p>persists the token and username locally</p>
323
- </div>
324
-
325
-
326
-
327
-
328
-
329
- <dl class="details">
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
-
343
-
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
- <dt class="tag-source">Source:</dt>
357
- <dd class="tag-source"><ul class="dummy"><li>
358
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line204">line 204</a>
359
- </li></ul></dd>
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
- </dl>
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
- <h5>Parameters:</h5>
378
-
379
-
380
- <table class="params">
381
- <thead>
382
- <tr>
383
-
384
- <th>Name</th>
385
-
386
-
387
- <th>Type</th>
388
-
389
-
390
-
391
-
392
-
393
- <th class="last">Description</th>
394
- </tr>
395
- </thead>
396
-
397
- <tbody>
398
-
399
-
400
- <tr>
401
-
402
- <td class="name"><code>options</code></td>
403
-
404
-
405
- <td class="type">
406
-
407
-
408
- <span class="param-type"><code>Object</code></span>
409
-
410
-
411
-
412
- </td>
413
-
414
-
415
-
416
-
417
-
418
- <td class="description last">
419
-
420
-
421
-
422
-
423
- <table class="params">
424
- <thead>
425
- <tr>
426
-
427
- <th>Name</th>
428
-
429
-
430
- <th>Type</th>
431
-
432
-
433
-
434
-
435
-
436
- <th class="last">Description</th>
437
- </tr>
438
- </thead>
439
-
440
- <tbody>
441
-
442
-
443
- <tr>
444
-
445
- <td class="name"><code>token</code></td>
446
-
447
-
448
- <td class="type">
449
-
450
-
451
- <span class="param-type"><code>String</code></span>
452
-
453
-
454
-
455
- </td>
456
-
457
-
458
-
459
-
460
-
461
- <td class="description last">
462
- <p>token to make authenticated calls</p>
463
-
464
- </td>
465
- </tr>
466
-
467
-
468
-
469
- <tr>
470
-
471
- <td class="name"><code>username</code></td>
472
-
473
-
474
- <td class="type">
475
-
476
-
477
- <span class="param-type"><code>String</code></span>
478
-
479
-
480
-
481
- </td>
482
-
483
-
484
-
485
-
486
-
487
- <td class="description last">
488
- <p>username linked to the token</p>
489
-
490
- </td>
491
- </tr>
492
-
493
-
494
- </tbody>
495
- </table>
496
-
497
-
498
- </td>
499
- </tr>
500
-
501
-
502
- </tbody>
503
- </table>
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
- <div class="section-returns">
519
- <h5>Returns:</h5>
520
-
521
-
522
-
523
- <dl class="param-type">
524
- <dt>
525
- Type:
526
- </dt>
527
- <dd>
528
-
529
- <span class="param-type"><code>Promise</code></span>
530
-
531
-
532
- </dd>
533
- </dl>
534
-
535
-
536
-
537
- </div>
538
-
539
-
540
-
541
- </div>
542
-
543
-
544
- <div class="section-method">
545
-
546
-
547
-
548
- <h4 class="name" id=".createBundle"><span class="type-signature">(static) </span>createBundle<span class="signature">(directory)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
549
-
550
-
551
-
552
-
553
-
554
- <div class="description">
555
- <p>creates a bundle to send to the server for deployment</p>
556
- </div>
557
-
558
-
559
-
560
-
561
-
562
- <dl class="details">
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
- <dt class="tag-source">Source:</dt>
590
- <dd class="tag-source"><ul class="dummy"><li>
591
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line27">line 27</a>
592
- </li></ul></dd>
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
- </dl>
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
- <h5>Parameters:</h5>
611
-
612
-
613
- <table class="params">
614
- <thead>
615
- <tr>
616
-
617
- <th>Name</th>
618
-
619
-
620
- <th>Type</th>
621
-
622
-
623
-
624
-
625
-
626
- <th class="last">Description</th>
627
- </tr>
628
- </thead>
629
-
630
- <tbody>
631
-
632
-
633
- <tr>
634
-
635
- <td class="name"><code>directory</code></td>
636
-
637
-
638
- <td class="type">
639
-
640
-
641
- <span class="param-type"><code>String</code></span>
642
-
643
-
644
-
645
- </td>
646
-
647
-
648
-
649
-
650
-
651
- <td class="description last">
652
- <p>the directory that is to be turned into a tar</p>
653
-
654
- </td>
655
- </tr>
656
-
657
-
658
- </tbody>
659
- </table>
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
-
672
-
673
-
674
- <div class="section-returns">
675
- <h5>Returns:</h5>
676
-
677
-
678
-
679
- <dl class="param-type">
680
- <dt>
681
- Type:
682
- </dt>
683
- <dd>
684
-
685
- <span class="param-type"><code>Promise</code></span>
686
-
687
-
688
- </dd>
689
- </dl>
690
-
691
-
692
-
693
- </div>
694
-
695
-
696
-
697
- </div>
698
-
699
-
700
- <div class="section-method">
701
-
702
-
703
-
704
- <h4 class="name" id=".deleteDeployment"><span class="type-signature">(static) </span>deleteDeployment<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
705
-
706
-
707
-
708
-
709
-
710
- <div class="description">
711
- <p>deletes the specified deployment</p>
712
- </div>
713
-
714
-
715
-
716
-
717
-
718
- <dl class="details">
719
-
720
-
721
-
722
-
723
-
724
-
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
-
742
-
743
-
744
-
745
- <dt class="tag-source">Source:</dt>
746
- <dd class="tag-source"><ul class="dummy"><li>
747
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line168">line 168</a>
748
- </li></ul></dd>
749
-
750
-
751
-
752
-
753
-
754
-
755
-
756
- </dl>
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
- <h5>Parameters:</h5>
767
-
768
-
769
- <table class="params">
770
- <thead>
771
- <tr>
772
-
773
- <th>Name</th>
774
-
775
-
776
- <th>Type</th>
777
-
778
-
779
-
780
-
781
-
782
- <th class="last">Description</th>
783
- </tr>
784
- </thead>
785
-
786
- <tbody>
787
-
788
-
789
- <tr>
790
-
791
- <td class="name"><code>options</code></td>
792
-
793
-
794
- <td class="type">
795
-
796
-
797
- <span class="param-type"><code>Object</code></span>
798
-
799
-
800
-
801
- </td>
802
-
803
-
804
-
805
-
806
-
807
- <td class="description last">
808
-
809
-
810
-
811
-
812
- <table class="params">
813
- <thead>
814
- <tr>
815
-
816
- <th>Name</th>
817
-
818
-
819
- <th>Type</th>
820
-
821
-
822
-
823
-
824
-
825
- <th class="last">Description</th>
826
- </tr>
827
- </thead>
828
-
829
- <tbody>
830
-
831
-
832
- <tr>
833
-
834
- <td class="name"><code>token</code></td>
835
-
836
-
837
- <td class="type">
838
-
839
-
840
- <span class="param-type"><code>String</code></span>
841
-
842
-
843
-
844
- </td>
845
-
846
-
847
-
848
-
849
-
850
- <td class="description last">
851
- <p>token to make authenticated calls</p>
852
-
853
- </td>
854
- </tr>
855
-
856
-
857
-
858
- <tr>
859
-
860
- <td class="name"><code>username</code></td>
861
-
862
-
863
- <td class="type">
864
-
865
-
866
- <span class="param-type"><code>String</code></span>
867
-
868
-
869
-
870
- </td>
871
-
872
-
873
-
874
-
875
-
876
- <td class="description last">
877
- <p>username linked to the token</p>
878
-
879
- </td>
880
- </tr>
881
-
882
-
883
-
884
- <tr>
885
-
886
- <td class="name"><code>name</code></td>
887
-
888
-
889
- <td class="type">
890
-
891
-
892
- <span class="param-type"><code>String</code></span>
893
-
894
-
895
-
896
- </td>
897
-
898
-
899
-
900
-
901
-
902
- <td class="description last">
903
- <p>name of the deployment</p>
904
-
905
- </td>
906
- </tr>
907
-
908
-
909
- </tbody>
910
- </table>
911
-
912
-
913
- </td>
914
- </tr>
915
-
916
-
917
- </tbody>
918
- </table>
919
-
920
-
921
-
922
-
923
-
924
-
925
-
926
-
927
-
928
-
929
-
930
-
931
-
932
-
933
- <div class="section-returns">
934
- <h5>Returns:</h5>
935
-
936
-
937
-
938
- <dl class="param-type">
939
- <dt>
940
- Type:
941
- </dt>
942
- <dd>
943
-
944
- <span class="param-type"><code>Promise</code></span>
945
-
946
-
947
- </dd>
948
- </dl>
949
-
950
-
951
-
952
- </div>
953
-
954
-
955
-
956
- </div>
957
-
958
-
959
- <div class="section-method">
960
-
961
-
962
-
963
- <h4 class="name" id=".getCredentials"><span class="type-signature">(static) </span>getCredentials<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4>
964
-
965
-
966
-
967
-
968
-
969
- <div class="description">
970
- <p>gets the token and username that were persisted locally</p>
971
- </div>
972
-
973
-
974
-
975
-
976
-
977
- <dl class="details">
978
-
979
-
980
-
981
-
982
-
983
-
984
-
985
-
986
-
987
-
988
-
989
-
990
-
991
-
992
-
993
-
994
-
995
-
996
-
997
-
998
-
999
-
1000
-
1001
-
1002
-
1003
-
1004
- <dt class="tag-source">Source:</dt>
1005
- <dd class="tag-source"><ul class="dummy"><li>
1006
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line227">line 227</a>
1007
- </li></ul></dd>
1008
-
1009
-
1010
-
1011
-
1012
-
1013
-
1014
-
1015
- </dl>
1016
-
1017
-
1018
-
1019
-
1020
-
1021
-
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
-
1030
-
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
- <div class="section-returns">
1038
- <h5>Returns:</h5>
1039
-
1040
-
1041
-
1042
- <dl class="param-type">
1043
- <dt>
1044
- Type:
1045
- </dt>
1046
- <dd>
1047
-
1048
- <span class="param-type"><code>Promise</code></span>
1049
-
1050
-
1051
- </dd>
1052
- </dl>
1053
-
1054
-
1055
-
1056
- </div>
1057
-
1058
-
1059
-
1060
- </div>
1061
-
1062
-
1063
- <div class="section-method">
1064
-
1065
-
1066
-
1067
- <h4 class="name" id=".getDeployments"><span class="type-signature">(static) </span>getDeployments<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1068
-
1069
-
1070
-
1071
-
1072
-
1073
- <div class="description">
1074
- <p>gets the user's deployed applications</p>
1075
- </div>
1076
-
1077
-
1078
-
1079
-
1080
-
1081
- <dl class="details">
1082
-
1083
-
1084
-
1085
-
1086
-
1087
-
1088
-
1089
-
1090
-
1091
-
1092
-
1093
-
1094
-
1095
-
1096
-
1097
-
1098
-
1099
-
1100
-
1101
-
1102
-
1103
-
1104
-
1105
-
1106
-
1107
-
1108
- <dt class="tag-source">Source:</dt>
1109
- <dd class="tag-source"><ul class="dummy"><li>
1110
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line146">line 146</a>
1111
- </li></ul></dd>
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
- </dl>
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
- <h5>Parameters:</h5>
1130
-
1131
-
1132
- <table class="params">
1133
- <thead>
1134
- <tr>
1135
-
1136
- <th>Name</th>
1137
-
1138
-
1139
- <th>Type</th>
1140
-
1141
-
1142
-
1143
-
1144
-
1145
- <th class="last">Description</th>
1146
- </tr>
1147
- </thead>
1148
-
1149
- <tbody>
1150
-
1151
-
1152
- <tr>
1153
-
1154
- <td class="name"><code>options</code></td>
1155
-
1156
-
1157
- <td class="type">
1158
-
1159
-
1160
- <span class="param-type"><code>Object</code></span>
1161
-
1162
-
1163
-
1164
- </td>
1165
-
1166
-
1167
-
1168
-
1169
-
1170
- <td class="description last">
1171
-
1172
-
1173
-
1174
-
1175
- <table class="params">
1176
- <thead>
1177
- <tr>
1178
-
1179
- <th>Name</th>
1180
-
1181
-
1182
- <th>Type</th>
1183
-
1184
-
1185
- <th>Attributes</th>
1186
-
1187
-
1188
-
1189
-
1190
- <th class="last">Description</th>
1191
- </tr>
1192
- </thead>
1193
-
1194
- <tbody>
1195
-
1196
-
1197
- <tr>
1198
-
1199
- <td class="name"><code>token</code></td>
1200
-
1201
-
1202
- <td class="type">
1203
-
1204
-
1205
- <span class="param-type"><code>String</code></span>
1206
-
1207
-
1208
-
1209
- </td>
1210
-
1211
-
1212
- <td class="attributes">
1213
-
1214
-
1215
-
1216
-
1217
-
1218
- </td>
1219
-
1220
-
1221
-
1222
-
1223
- <td class="description last">
1224
- <p>token to make authenticated calls</p>
1225
-
1226
- </td>
1227
- </tr>
1228
-
1229
-
1230
-
1231
- <tr>
1232
-
1233
- <td class="name"><code>username</code></td>
1234
-
1235
-
1236
- <td class="type">
1237
-
1238
-
1239
- <span class="param-type"><code>String</code></span>
1240
-
1241
-
1242
-
1243
- </td>
1244
-
1245
-
1246
- <td class="attributes">
1247
-
1248
-
1249
-
1250
-
1251
-
1252
- </td>
1253
-
1254
-
1255
-
1256
-
1257
- <td class="description last">
1258
- <p>username linked to the token</p>
1259
-
1260
- </td>
1261
- </tr>
1262
-
1263
-
1264
-
1265
- <tr>
1266
-
1267
- <td class="name"><code>name</code></td>
1268
-
1269
-
1270
- <td class="type">
1271
-
1272
-
1273
- <span class="param-type"><code>String</code></span>
1274
-
1275
-
1276
-
1277
- </td>
1278
-
1279
-
1280
- <td class="attributes">
1281
-
1282
- &lt;optional><br>
1283
-
1284
-
1285
-
1286
-
1287
-
1288
- </td>
1289
-
1290
-
1291
-
1292
-
1293
- <td class="description last">
1294
- <p>name of the deployment</p>
1295
-
1296
- </td>
1297
- </tr>
1298
-
1299
-
1300
- </tbody>
1301
- </table>
1302
-
1303
-
1304
- </td>
1305
- </tr>
1306
-
1307
-
1308
- </tbody>
1309
- </table>
1310
-
1311
-
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
- <div class="section-returns">
1325
- <h5>Returns:</h5>
1326
-
1327
-
1328
-
1329
- <dl class="param-type">
1330
- <dt>
1331
- Type:
1332
- </dt>
1333
- <dd>
1334
-
1335
- <span class="param-type"><code>Promise</code></span>
1336
-
1337
-
1338
- </dd>
1339
- </dl>
1340
-
1341
-
1342
-
1343
- </div>
1344
-
1345
-
1346
-
1347
- </div>
1348
-
1349
-
1350
- <div class="section-method">
1351
-
1352
-
1353
-
1354
- <h4 class="name" id=".getLogs"><span class="type-signature">(static) </span>getLogs<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1355
-
1356
-
1357
-
1358
-
1359
-
1360
- <div class="description">
1361
- <p>gets the application logs</p>
1362
- </div>
1363
-
1364
-
1365
-
1366
-
1367
-
1368
- <dl class="details">
1369
-
1370
-
1371
-
1372
-
1373
-
1374
-
1375
-
1376
-
1377
-
1378
-
1379
-
1380
-
1381
-
1382
-
1383
-
1384
-
1385
-
1386
-
1387
-
1388
-
1389
-
1390
-
1391
-
1392
-
1393
-
1394
-
1395
- <dt class="tag-source">Source:</dt>
1396
- <dd class="tag-source"><ul class="dummy"><li>
1397
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line127">line 127</a>
1398
- </li></ul></dd>
1399
-
1400
-
1401
-
1402
-
1403
-
1404
-
1405
-
1406
- </dl>
1407
-
1408
-
1409
-
1410
-
1411
-
1412
-
1413
-
1414
-
1415
-
1416
- <h5>Parameters:</h5>
1417
-
1418
-
1419
- <table class="params">
1420
- <thead>
1421
- <tr>
1422
-
1423
- <th>Name</th>
1424
-
1425
-
1426
- <th>Type</th>
1427
-
1428
-
1429
-
1430
-
1431
-
1432
- <th class="last">Description</th>
1433
- </tr>
1434
- </thead>
1435
-
1436
- <tbody>
1437
-
1438
-
1439
- <tr>
1440
-
1441
- <td class="name"><code>options</code></td>
1442
-
1443
-
1444
- <td class="type">
1445
-
1446
-
1447
- <span class="param-type"><code>Object</code></span>
1448
-
1449
-
1450
-
1451
- </td>
1452
-
1453
-
1454
-
1455
-
1456
-
1457
- <td class="description last">
1458
-
1459
-
1460
-
1461
-
1462
- <table class="params">
1463
- <thead>
1464
- <tr>
1465
-
1466
- <th>Name</th>
1467
-
1468
-
1469
- <th>Type</th>
1470
-
1471
-
1472
-
1473
-
1474
-
1475
- <th class="last">Description</th>
1476
- </tr>
1477
- </thead>
1478
-
1479
- <tbody>
1480
-
1481
-
1482
- <tr>
1483
-
1484
- <td class="name"><code>token</code></td>
1485
-
1486
-
1487
- <td class="type">
1488
-
1489
-
1490
- <span class="param-type"><code>String</code></span>
1491
-
1492
-
1493
-
1494
- </td>
1495
-
1496
-
1497
-
1498
-
1499
-
1500
- <td class="description last">
1501
- <p>token to make authenticated calls</p>
1502
-
1503
- </td>
1504
- </tr>
1505
-
1506
-
1507
-
1508
- <tr>
1509
-
1510
- <td class="name"><code>username</code></td>
1511
-
1512
-
1513
- <td class="type">
1514
-
1515
-
1516
- <span class="param-type"><code>String</code></span>
1517
-
1518
-
1519
-
1520
- </td>
1521
-
1522
-
1523
-
1524
-
1525
-
1526
- <td class="description last">
1527
- <p>username linked to the token</p>
1528
-
1529
- </td>
1530
- </tr>
1531
-
1532
-
1533
-
1534
- <tr>
1535
-
1536
- <td class="name"><code>name</code></td>
1537
-
1538
-
1539
- <td class="type">
1540
-
1541
-
1542
- <span class="param-type"><code>String</code></span>
1543
-
1544
-
1545
-
1546
- </td>
1547
-
1548
-
1549
-
1550
-
1551
-
1552
- <td class="description last">
1553
- <p>name of the deployment</p>
1554
-
1555
- </td>
1556
- </tr>
1557
-
1558
-
1559
- </tbody>
1560
- </table>
1561
-
1562
-
1563
- </td>
1564
- </tr>
1565
-
1566
-
1567
- </tbody>
1568
- </table>
1569
-
1570
-
1571
-
1572
-
1573
-
1574
-
1575
-
1576
-
1577
-
1578
-
1579
-
1580
-
1581
-
1582
-
1583
- <div class="section-returns">
1584
- <h5>Returns:</h5>
1585
-
1586
-
1587
-
1588
- <dl class="param-type">
1589
- <dt>
1590
- Type:
1591
- </dt>
1592
- <dd>
1593
-
1594
- <span class="param-type"><code>Promise</code></span>
1595
-
1596
-
1597
- </dd>
1598
- </dl>
1599
-
1600
-
1601
-
1602
- </div>
1603
-
1604
-
1605
-
1606
- </div>
1607
-
1608
-
1609
- <div class="section-method">
1610
-
1611
-
1612
-
1613
- <h4 class="name" id=".getUserDetails"><span class="type-signature">(static) </span>getUserDetails<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1614
-
1615
-
1616
-
1617
-
1618
-
1619
- <div class="description">
1620
- <p>gets the user details</p>
1621
- </div>
1622
-
1623
-
1624
-
1625
-
1626
-
1627
- <dl class="details">
1628
-
1629
-
1630
-
1631
-
1632
-
1633
-
1634
-
1635
-
1636
-
1637
-
1638
-
1639
-
1640
-
1641
-
1642
-
1643
-
1644
-
1645
-
1646
-
1647
-
1648
-
1649
-
1650
-
1651
-
1652
-
1653
-
1654
- <dt class="tag-source">Source:</dt>
1655
- <dd class="tag-source"><ul class="dummy"><li>
1656
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line187">line 187</a>
1657
- </li></ul></dd>
1658
-
1659
-
1660
-
1661
-
1662
-
1663
-
1664
-
1665
- </dl>
1666
-
1667
-
1668
-
1669
-
1670
-
1671
-
1672
-
1673
-
1674
-
1675
- <h5>Parameters:</h5>
1676
-
1677
-
1678
- <table class="params">
1679
- <thead>
1680
- <tr>
1681
-
1682
- <th>Name</th>
1683
-
1684
-
1685
- <th>Type</th>
1686
-
1687
-
1688
-
1689
-
1690
-
1691
- <th class="last">Description</th>
1692
- </tr>
1693
- </thead>
1694
-
1695
- <tbody>
1696
-
1697
-
1698
- <tr>
1699
-
1700
- <td class="name"><code>options.token</code></td>
1701
-
1702
-
1703
- <td class="type">
1704
-
1705
-
1706
- <span class="param-type"><code>String</code></span>
1707
-
1708
-
1709
-
1710
- </td>
1711
-
1712
-
1713
-
1714
-
1715
-
1716
- <td class="description last">
1717
- <p>token to make authenticated calls</p>
1718
-
1719
- </td>
1720
- </tr>
1721
-
1722
-
1723
-
1724
- <tr>
1725
-
1726
- <td class="name"><code>options.username</code></td>
1727
-
1728
-
1729
- <td class="type">
1730
-
1731
-
1732
- <span class="param-type"><code>String</code></span>
1733
-
1734
-
1735
-
1736
- </td>
1737
-
1738
-
1739
-
1740
-
1741
-
1742
- <td class="description last">
1743
- <p>username linked to the token</p>
1744
-
1745
- </td>
1746
- </tr>
1747
-
1748
-
1749
- </tbody>
1750
- </table>
1751
-
1752
-
1753
-
1754
-
1755
-
1756
-
1757
-
1758
-
1759
-
1760
-
1761
-
1762
-
1763
-
1764
-
1765
- <div class="section-returns">
1766
- <h5>Returns:</h5>
1767
-
1768
-
1769
-
1770
- <dl class="param-type">
1771
- <dt>
1772
- Type:
1773
- </dt>
1774
- <dd>
1775
-
1776
- <span class="param-type"><code>Promise</code></span>
1777
-
1778
-
1779
- </dd>
1780
- </dl>
1781
-
1782
-
1783
-
1784
- </div>
1785
-
1786
-
1787
-
1788
- </div>
1789
-
1790
-
1791
- <div class="section-method">
1792
-
1793
-
1794
-
1795
- <h4 class="name" id=".login"><span class="type-signature">(static) </span>login<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
1796
-
1797
-
1798
-
1799
-
1800
-
1801
- <div class="description">
1802
- <p>calls the login api to get a token to persist for future requests</p>
1803
- </div>
1804
-
1805
-
1806
-
1807
-
1808
-
1809
- <dl class="details">
1810
-
1811
-
1812
-
1813
-
1814
-
1815
-
1816
-
1817
-
1818
-
1819
-
1820
-
1821
-
1822
-
1823
-
1824
-
1825
-
1826
-
1827
-
1828
-
1829
-
1830
-
1831
-
1832
-
1833
-
1834
-
1835
-
1836
- <dt class="tag-source">Source:</dt>
1837
- <dd class="tag-source"><ul class="dummy"><li>
1838
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line73">line 73</a>
1839
- </li></ul></dd>
1840
-
1841
-
1842
-
1843
-
1844
-
1845
-
1846
-
1847
- </dl>
1848
-
1849
-
1850
-
1851
-
1852
-
1853
-
1854
-
1855
-
1856
-
1857
- <h5>Parameters:</h5>
1858
-
1859
-
1860
- <table class="params">
1861
- <thead>
1862
- <tr>
1863
-
1864
- <th>Name</th>
1865
-
1866
-
1867
- <th>Type</th>
1868
-
1869
-
1870
-
1871
-
1872
-
1873
- <th class="last">Description</th>
1874
- </tr>
1875
- </thead>
1876
-
1877
- <tbody>
1878
-
1879
-
1880
- <tr>
1881
-
1882
- <td class="name"><code>options</code></td>
1883
-
1884
-
1885
- <td class="type">
1886
-
1887
-
1888
- <span class="param-type"><code>Object</code></span>
1889
-
1890
-
1891
-
1892
- </td>
1893
-
1894
-
1895
-
1896
-
1897
-
1898
- <td class="description last">
1899
-
1900
-
1901
-
1902
-
1903
- <table class="params">
1904
- <thead>
1905
- <tr>
1906
-
1907
- <th>Name</th>
1908
-
1909
-
1910
- <th>Type</th>
1911
-
1912
-
1913
-
1914
-
1915
-
1916
- <th class="last">Description</th>
1917
- </tr>
1918
- </thead>
1919
-
1920
- <tbody>
1921
-
1922
-
1923
- <tr>
1924
-
1925
- <td class="name"><code>username</code></td>
1926
-
1927
-
1928
- <td class="type">
1929
-
1930
-
1931
- <span class="param-type"><code>String</code></span>
1932
-
1933
-
1934
-
1935
- </td>
1936
-
1937
-
1938
-
1939
-
1940
-
1941
- <td class="description last">
1942
- <p>username of the account</p>
1943
-
1944
- </td>
1945
- </tr>
1946
-
1947
-
1948
-
1949
- <tr>
1950
-
1951
- <td class="name"><code>password</code></td>
1952
-
1953
-
1954
- <td class="type">
1955
-
1956
-
1957
- <span class="param-type"><code>String</code></span>
1958
-
1959
-
1960
-
1961
- </td>
1962
-
1963
-
1964
-
1965
-
1966
-
1967
- <td class="description last">
1968
- <p>password associated with the account</p>
1969
-
1970
- </td>
1971
- </tr>
1972
-
1973
-
1974
- </tbody>
1975
- </table>
1976
-
1977
-
1978
- </td>
1979
- </tr>
1980
-
1981
-
1982
- </tbody>
1983
- </table>
1984
-
1985
-
1986
-
1987
-
1988
-
1989
-
1990
-
1991
-
1992
-
1993
-
1994
-
1995
-
1996
-
1997
-
1998
- <div class="section-returns">
1999
- <h5>Returns:</h5>
2000
-
2001
-
2002
-
2003
- <dl class="param-type">
2004
- <dt>
2005
- Type:
2006
- </dt>
2007
- <dd>
2008
-
2009
- <span class="param-type"><code>Promise</code></span>
2010
-
2011
-
2012
- </dd>
2013
- </dl>
2014
-
2015
-
2016
-
2017
- </div>
2018
-
2019
-
2020
-
2021
- </div>
2022
-
2023
-
2024
- <div class="section-method">
2025
-
2026
-
2027
-
2028
- <h4 class="name" id=".logout"><span class="type-signature">(static) </span>logout<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
2029
-
2030
-
2031
-
2032
-
2033
-
2034
- <div class="description">
2035
- <p>calls the logout api to invalidate token</p>
2036
- </div>
2037
-
2038
-
2039
-
2040
-
2041
-
2042
- <dl class="details">
2043
-
2044
-
2045
-
2046
-
2047
-
2048
-
2049
-
2050
-
2051
-
2052
-
2053
-
2054
-
2055
-
2056
-
2057
-
2058
-
2059
-
2060
-
2061
-
2062
-
2063
-
2064
-
2065
-
2066
-
2067
-
2068
-
2069
- <dt class="tag-source">Source:</dt>
2070
- <dd class="tag-source"><ul class="dummy"><li>
2071
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line109">line 109</a>
2072
- </li></ul></dd>
2073
-
2074
-
2075
-
2076
-
2077
-
2078
-
2079
-
2080
- </dl>
2081
-
2082
-
2083
-
2084
-
2085
-
2086
-
2087
-
2088
-
2089
-
2090
- <h5>Parameters:</h5>
2091
-
2092
-
2093
- <table class="params">
2094
- <thead>
2095
- <tr>
2096
-
2097
- <th>Name</th>
2098
-
2099
-
2100
- <th>Type</th>
2101
-
2102
-
2103
-
2104
-
2105
-
2106
- <th class="last">Description</th>
2107
- </tr>
2108
- </thead>
2109
-
2110
- <tbody>
2111
-
2112
-
2113
- <tr>
2114
-
2115
- <td class="name"><code>options</code></td>
2116
-
2117
-
2118
- <td class="type">
2119
-
2120
-
2121
- <span class="param-type"><code>Object</code></span>
2122
-
2123
-
2124
-
2125
- </td>
2126
-
2127
-
2128
-
2129
-
2130
-
2131
- <td class="description last">
2132
-
2133
-
2134
-
2135
-
2136
- <table class="params">
2137
- <thead>
2138
- <tr>
2139
-
2140
- <th>Name</th>
2141
-
2142
-
2143
- <th>Type</th>
2144
-
2145
-
2146
-
2147
-
2148
-
2149
- <th class="last">Description</th>
2150
- </tr>
2151
- </thead>
2152
-
2153
- <tbody>
2154
-
2155
-
2156
- <tr>
2157
-
2158
- <td class="name"><code>token</code></td>
2159
-
2160
-
2161
- <td class="type">
2162
-
2163
-
2164
- <span class="param-type"><code>String</code></span>
2165
-
2166
-
2167
-
2168
- </td>
2169
-
2170
-
2171
-
2172
-
2173
-
2174
- <td class="description last">
2175
- <p>token to make authenticated calls</p>
2176
-
2177
- </td>
2178
- </tr>
2179
-
2180
-
2181
-
2182
- <tr>
2183
-
2184
- <td class="name"><code>username</code></td>
2185
-
2186
-
2187
- <td class="type">
2188
-
2189
-
2190
- <span class="param-type"><code>String</code></span>
2191
-
2192
-
2193
-
2194
- </td>
2195
-
2196
-
2197
-
2198
-
2199
-
2200
- <td class="description last">
2201
- <p>username linked to the token</p>
2202
-
2203
- </td>
2204
- </tr>
2205
-
2206
-
2207
- </tbody>
2208
- </table>
2209
-
2210
-
2211
- </td>
2212
- </tr>
2213
-
2214
-
2215
- </tbody>
2216
- </table>
2217
-
2218
-
2219
-
2220
-
2221
-
2222
-
2223
-
2224
-
2225
-
2226
-
2227
-
2228
-
2229
-
2230
-
2231
- <div class="section-returns">
2232
- <h5>Returns:</h5>
2233
-
2234
-
2235
-
2236
- <dl class="param-type">
2237
- <dt>
2238
- Type:
2239
- </dt>
2240
- <dd>
2241
-
2242
- <span class="param-type"><code>Promise</code></span>
2243
-
2244
-
2245
- </dd>
2246
- </dl>
2247
-
2248
-
2249
-
2250
- </div>
2251
-
2252
-
2253
-
2254
- </div>
2255
-
2256
-
2257
- <div class="section-method">
2258
-
2259
-
2260
-
2261
- <h4 class="name" id=".register"><span class="type-signature">(static) </span>register<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
2262
-
2263
-
2264
-
2265
-
2266
-
2267
- <div class="description">
2268
- <p>prompts the user to register account</p>
2269
- </div>
2270
-
2271
-
2272
-
2273
-
2274
-
2275
- <dl class="details">
2276
-
2277
-
2278
-
2279
-
2280
-
2281
-
2282
-
2283
-
2284
-
2285
-
2286
-
2287
-
2288
-
2289
-
2290
-
2291
-
2292
-
2293
-
2294
-
2295
-
2296
-
2297
-
2298
-
2299
-
2300
-
2301
-
2302
- <dt class="tag-source">Source:</dt>
2303
- <dd class="tag-source"><ul class="dummy"><li>
2304
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line91">line 91</a>
2305
- </li></ul></dd>
2306
-
2307
-
2308
-
2309
-
2310
-
2311
-
2312
-
2313
- </dl>
2314
-
2315
-
2316
-
2317
-
2318
-
2319
-
2320
-
2321
-
2322
-
2323
- <h5>Parameters:</h5>
2324
-
2325
-
2326
- <table class="params">
2327
- <thead>
2328
- <tr>
2329
-
2330
- <th>Name</th>
2331
-
2332
-
2333
- <th>Type</th>
2334
-
2335
-
2336
-
2337
-
2338
-
2339
- <th class="last">Description</th>
2340
- </tr>
2341
- </thead>
2342
-
2343
- <tbody>
2344
-
2345
-
2346
- <tr>
2347
-
2348
- <td class="name"><code>options</code></td>
2349
-
2350
-
2351
- <td class="type">
2352
-
2353
-
2354
- <span class="param-type"><code>Object</code></span>
2355
-
2356
-
2357
-
2358
- </td>
2359
-
2360
-
2361
-
2362
-
2363
-
2364
- <td class="description last">
2365
-
2366
-
2367
-
2368
-
2369
- <table class="params">
2370
- <thead>
2371
- <tr>
2372
-
2373
- <th>Name</th>
2374
-
2375
-
2376
- <th>Type</th>
2377
-
2378
-
2379
-
2380
-
2381
-
2382
- <th class="last">Description</th>
2383
- </tr>
2384
- </thead>
2385
-
2386
- <tbody>
2387
-
2388
-
2389
- <tr>
2390
-
2391
- <td class="name"><code>username</code></td>
2392
-
2393
-
2394
- <td class="type">
2395
-
2396
-
2397
- <span class="param-type"><code>String</code></span>
2398
-
2399
-
2400
-
2401
- </td>
2402
-
2403
-
2404
-
2405
-
2406
-
2407
- <td class="description last">
2408
- <p>username of the account</p>
2409
-
2410
- </td>
2411
- </tr>
2412
-
2413
-
2414
-
2415
- <tr>
2416
-
2417
- <td class="name"><code>password</code></td>
2418
-
2419
-
2420
- <td class="type">
2421
-
2422
-
2423
- <span class="param-type"><code>String</code></span>
2424
-
2425
-
2426
-
2427
- </td>
2428
-
2429
-
2430
-
2431
-
2432
-
2433
- <td class="description last">
2434
- <p>password associated with the account</p>
2435
-
2436
- </td>
2437
- </tr>
2438
-
2439
-
2440
- </tbody>
2441
- </table>
2442
-
2443
-
2444
- </td>
2445
- </tr>
2446
-
2447
-
2448
- </tbody>
2449
- </table>
2450
-
2451
-
2452
-
2453
-
2454
-
2455
-
2456
-
2457
-
2458
-
2459
-
2460
-
2461
-
2462
-
2463
-
2464
- <div class="section-returns">
2465
- <h5>Returns:</h5>
2466
-
2467
-
2468
-
2469
- <dl class="param-type">
2470
- <dt>
2471
- Type:
2472
- </dt>
2473
- <dd>
2474
-
2475
- <span class="param-type"><code>Promise</code></span>
2476
-
2477
-
2478
- </dd>
2479
- </dl>
2480
-
2481
-
2482
-
2483
- </div>
2484
-
2485
-
2486
-
2487
- </div>
2488
-
2489
-
2490
- <div class="section-method">
2491
-
2492
-
2493
-
2494
- <h4 class="name" id=".removeBundle"><span class="type-signature">(static) </span>removeBundle<span class="signature">(directory)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
2495
-
2496
-
2497
-
2498
-
2499
-
2500
- <div class="description">
2501
- <p>removes the bundle from the given directory</p>
2502
- </div>
2503
-
2504
-
2505
-
2506
-
2507
-
2508
- <dl class="details">
2509
-
2510
-
2511
-
2512
-
2513
-
2514
-
2515
-
2516
-
2517
-
2518
-
2519
-
2520
-
2521
-
2522
-
2523
-
2524
-
2525
-
2526
-
2527
-
2528
-
2529
-
2530
-
2531
-
2532
-
2533
-
2534
-
2535
- <dt class="tag-source">Source:</dt>
2536
- <dd class="tag-source"><ul class="dummy"><li>
2537
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line41">line 41</a>
2538
- </li></ul></dd>
2539
-
2540
-
2541
-
2542
-
2543
-
2544
-
2545
-
2546
- </dl>
2547
-
2548
-
2549
-
2550
-
2551
-
2552
-
2553
-
2554
-
2555
-
2556
- <h5>Parameters:</h5>
2557
-
2558
-
2559
- <table class="params">
2560
- <thead>
2561
- <tr>
2562
-
2563
- <th>Name</th>
2564
-
2565
-
2566
- <th>Type</th>
2567
-
2568
-
2569
-
2570
-
2571
-
2572
- <th class="last">Description</th>
2573
- </tr>
2574
- </thead>
2575
-
2576
- <tbody>
2577
-
2578
-
2579
- <tr>
2580
-
2581
- <td class="name"><code>directory</code></td>
2582
-
2583
-
2584
- <td class="type">
2585
-
2586
-
2587
- <span class="param-type"><code>String</code></span>
2588
-
2589
-
2590
-
2591
- </td>
2592
-
2593
-
2594
-
2595
-
2596
-
2597
- <td class="description last">
2598
- <p>path to directory</p>
2599
-
2600
- </td>
2601
- </tr>
2602
-
2603
-
2604
- </tbody>
2605
- </table>
2606
-
2607
-
2608
-
2609
-
2610
-
2611
-
2612
-
2613
-
2614
-
2615
-
2616
-
2617
-
2618
-
2619
-
2620
- <div class="section-returns">
2621
- <h5>Returns:</h5>
2622
-
2623
-
2624
-
2625
- <dl class="param-type">
2626
- <dt>
2627
- Type:
2628
- </dt>
2629
- <dd>
2630
-
2631
- <span class="param-type"><code>Promise</code></span>
2632
-
2633
-
2634
- </dd>
2635
- </dl>
2636
-
2637
-
2638
-
2639
- </div>
2640
-
2641
-
2642
-
2643
- </div>
2644
-
2645
-
2646
- <div class="section-method">
2647
-
2648
-
2649
-
2650
- <h4 class="name" id=".uploadBundle"><span class="type-signature">(static) </span>uploadBundle<span class="signature">(options)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
2651
-
2652
-
2653
-
2654
-
2655
-
2656
- <div class="description">
2657
- <p>Deals with uploading a specified bundle</p>
2658
- </div>
2659
-
2660
-
2661
-
2662
-
2663
-
2664
- <dl class="details">
2665
-
2666
-
2667
-
2668
-
2669
-
2670
-
2671
-
2672
-
2673
-
2674
-
2675
-
2676
-
2677
-
2678
-
2679
-
2680
-
2681
-
2682
-
2683
-
2684
-
2685
-
2686
-
2687
-
2688
-
2689
-
2690
-
2691
- <dt class="tag-source">Source:</dt>
2692
- <dd class="tag-source"><ul class="dummy"><li>
2693
- <a href="helpers_cli.js.html">helpers/cli.js</a>, <a href="helpers_cli.js.html#line51">line 51</a>
2694
- </li></ul></dd>
2695
-
2696
-
2697
-
2698
-
2699
-
2700
-
2701
-
2702
- </dl>
2703
-
2704
-
2705
-
2706
-
2707
-
2708
-
2709
-
2710
-
2711
-
2712
- <h5>Parameters:</h5>
2713
-
2714
-
2715
- <table class="params">
2716
- <thead>
2717
- <tr>
2718
-
2719
- <th>Name</th>
2720
-
2721
-
2722
- <th>Type</th>
2723
-
2724
-
2725
-
2726
-
2727
-
2728
- <th class="last">Description</th>
2729
- </tr>
2730
- </thead>
2731
-
2732
- <tbody>
2733
-
2734
-
2735
- <tr>
2736
-
2737
- <td class="name"><code>options</code></td>
2738
-
2739
-
2740
- <td class="type">
2741
-
2742
-
2743
- <span class="param-type"><code>Object</code></span>
2744
-
2745
-
2746
-
2747
- </td>
2748
-
2749
-
2750
-
2751
-
2752
-
2753
- <td class="description last">
2754
-
2755
-
2756
-
2757
-
2758
- <table class="params">
2759
- <thead>
2760
- <tr>
2761
-
2762
- <th>Name</th>
2763
-
2764
-
2765
- <th>Type</th>
2766
-
2767
-
2768
-
2769
-
2770
-
2771
- <th class="last">Description</th>
2772
- </tr>
2773
- </thead>
2774
-
2775
- <tbody>
2776
-
2777
-
2778
- <tr>
2779
-
2780
- <td class="name"><code>name</code></td>
2781
-
2782
-
2783
- <td class="type">
2784
-
2785
-
2786
- <span class="param-type"><code>String</code></span>
2787
-
2788
-
2789
-
2790
- </td>
2791
-
2792
-
2793
-
2794
-
2795
-
2796
- <td class="description last">
2797
- <p>the name of the specified application</p>
2798
-
2799
- </td>
2800
- </tr>
2801
-
2802
-
2803
-
2804
- <tr>
2805
-
2806
- <td class="name"><code>bundle</code></td>
2807
-
2808
-
2809
- <td class="type">
2810
-
2811
-
2812
- <span class="param-type"><code>Stream</code></span>
2813
-
2814
-
2815
-
2816
- </td>
2817
-
2818
-
2819
-
2820
-
2821
-
2822
- <td class="description last">
2823
- <p>a file stream of the tar</p>
2824
-
2825
- </td>
2826
- </tr>
2827
-
2828
-
2829
- </tbody>
2830
- </table>
2831
-
2832
-
2833
- </td>
2834
- </tr>
2835
-
2836
-
2837
- </tbody>
2838
- </table>
2839
-
2840
-
2841
-
2842
-
2843
-
2844
-
2845
-
2846
-
2847
-
2848
-
2849
-
2850
-
2851
-
2852
-
2853
- <div class="section-returns">
2854
- <h5>Returns:</h5>
2855
-
2856
-
2857
-
2858
- <dl class="param-type">
2859
- <dt>
2860
- Type:
2861
- </dt>
2862
- <dd>
2863
-
2864
- <span class="param-type"><code>Promise</code></span>
2865
-
2866
-
2867
- </dd>
2868
- </dl>
2869
-
2870
-
2871
-
2872
- </div>
2873
-
2874
-
2875
-
2876
- </div>
2877
-
2878
-
2879
-
2880
-
2881
-
2882
-
2883
- </article>
2884
-
2885
- </section>
2886
-
2887
-
2888
-
2889
-
2890
- </div>
2891
-
2892
- <br class="clear">
2893
-
2894
- <footer>
2895
- Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> using the Minami theme.
2896
- </footer>
2897
-
2898
- <script>prettyPrint();</script>
2899
- <script src="scripts/linenumber.js"></script>
2900
- </body>
2901
- </html>