|
10 | 10 | "> An overview of the Plash CLI commands" |
11 | 11 | ] |
12 | 12 | }, |
13 | | - { |
14 | | - "cell_type": "code", |
15 | | - "execution_count": null, |
16 | | - "id": "89996de5", |
17 | | - "metadata": {}, |
18 | | - "outputs": [], |
19 | | - "source": [ |
20 | | - "#| hide\n", |
21 | | - "from plash_cli._bash_magic import *" |
22 | | - ] |
23 | | - }, |
24 | 13 | { |
25 | 14 | "cell_type": "markdown", |
26 | 15 | "id": "897236fc", |
|
39 | 28 | "name": "stdout", |
40 | 29 | "output_type": "stream", |
41 | 30 | "text": [ |
42 | | - "usage: plash_login [-h]\r\n", |
43 | | - "\r\n", |
44 | | - "Authenticate CLI with server and save config\r\n", |
45 | | - "\r\n", |
46 | | - "options:\r\n", |
47 | | - " -h, --help show this help message and exit\r\n", |
48 | | - "\n" |
| 31 | + "usage: plash_login [-h]\n", |
| 32 | + "\n", |
| 33 | + "Authenticate CLI with server and save config\n", |
| 34 | + "\n", |
| 35 | + "options:\n", |
| 36 | + " -h, --help show this help message and exit\n" |
49 | 37 | ] |
50 | 38 | } |
51 | 39 | ], |
|
72 | 60 | "name": "stdout", |
73 | 61 | "output_type": "stream", |
74 | 62 | "text": [ |
75 | | - "usage: plash_apps [-h]\r\n", |
76 | | - "\r\n", |
77 | | - "List your deployed apps (1=running, 0=stopped)\r\n", |
78 | | - "\r\n", |
79 | | - "options:\r\n", |
80 | | - " -h, --help show this help message and exit\r\n", |
81 | | - "\n" |
| 63 | + "usage: plash_apps [-h]\n", |
| 64 | + "\n", |
| 65 | + "List your deployed apps (1=running, 0=stopped)\n", |
| 66 | + "\n", |
| 67 | + "options:\n", |
| 68 | + " -h, --help show this help message and exit\n" |
82 | 69 | ] |
83 | 70 | } |
84 | 71 | ], |
|
105 | 92 | "name": "stdout", |
106 | 93 | "output_type": "stream", |
107 | 94 | "text": [ |
108 | | - "usage: plash_deploy [-h] [--path PATH] [--app_id APP_ID]\r\n", |
109 | | - "\r\n", |
110 | | - "Ship your app to production\r\n", |
111 | | - "\r\n", |
112 | | - "options:\r\n", |
113 | | - " -h, --help show this help message and exit\r\n", |
114 | | - " --path PATH Path to project (default: .)\r\n", |
115 | | - " --app_id APP_ID Overrides the .plash file in project root if provided\r\n", |
116 | | - "\n" |
| 95 | + "usage: plash_deploy [-h] [--path PATH] [--app_id APP_ID]\n", |
| 96 | + "\n", |
| 97 | + "Ship your app to production\n", |
| 98 | + "\n", |
| 99 | + "options:\n", |
| 100 | + " -h, --help show this help message and exit\n", |
| 101 | + " --path PATH Path to project (default: .)\n", |
| 102 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n" |
117 | 103 | ] |
118 | 104 | } |
119 | 105 | ], |
|
140 | 126 | "name": "stdout", |
141 | 127 | "output_type": "stream", |
142 | 128 | "text": [ |
143 | | - "usage: plash_view [-h] [--path PATH] [--app_id APP_ID]\r\n", |
144 | | - "\r\n", |
145 | | - "Open your app in the browser\r\n", |
146 | | - "\r\n", |
147 | | - "options:\r\n", |
148 | | - " -h, --help show this help message and exit\r\n", |
149 | | - " --path PATH Path to project directory (default: .)\r\n", |
150 | | - " --app_id APP_ID Overrides the .plash file in project root if provided\r\n", |
151 | | - "\n" |
| 129 | + "usage: plash_view [-h] [--path PATH] [--app_id APP_ID]\n", |
| 130 | + "\n", |
| 131 | + "Open your app in the browser\n", |
| 132 | + "\n", |
| 133 | + "options:\n", |
| 134 | + " -h, --help show this help message and exit\n", |
| 135 | + " --path PATH Path to project directory (default: .)\n", |
| 136 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n" |
152 | 137 | ] |
153 | 138 | } |
154 | 139 | ], |
|
175 | 160 | "name": "stdout", |
176 | 161 | "output_type": "stream", |
177 | 162 | "text": [ |
178 | | - "usage: plash_start [-h] [--path PATH] [--app_id APP_ID]\r\n", |
179 | | - "\r\n", |
180 | | - "Access the '/start' endpoint for your app\r\n", |
181 | | - "\r\n", |
182 | | - "options:\r\n", |
183 | | - " -h, --help show this help message and exit\r\n", |
184 | | - " --path PATH Path to project (default: .)\r\n", |
185 | | - " --app_id APP_ID Overrides the .plash file in project root if provided\r\n", |
186 | | - "\n" |
| 163 | + "usage: plash_start [-h] [--path PATH] [--app_id APP_ID]\n", |
| 164 | + "\n", |
| 165 | + "Access the '/start' endpoint for your app\n", |
| 166 | + "\n", |
| 167 | + "options:\n", |
| 168 | + " -h, --help show this help message and exit\n", |
| 169 | + " --path PATH Path to project (default: .)\n", |
| 170 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n" |
187 | 171 | ] |
188 | 172 | } |
189 | 173 | ], |
|
210 | 194 | "name": "stdout", |
211 | 195 | "output_type": "stream", |
212 | 196 | "text": [ |
213 | | - "usage: plash_stop [-h] [--path PATH] [--app_id APP_ID]\r\n", |
214 | | - "\r\n", |
215 | | - "Access the '/stop' endpoint for your app\r\n", |
216 | | - "\r\n", |
217 | | - "options:\r\n", |
218 | | - " -h, --help show this help message and exit\r\n", |
219 | | - " --path PATH Path to project (default: .)\r\n", |
220 | | - " --app_id APP_ID Overrides the .plash file in project root if provided\r\n", |
221 | | - "\n" |
| 197 | + "usage: plash_stop [-h] [--path PATH] [--app_id APP_ID]\n", |
| 198 | + "\n", |
| 199 | + "Access the '/stop' endpoint for your app\n", |
| 200 | + "\n", |
| 201 | + "options:\n", |
| 202 | + " -h, --help show this help message and exit\n", |
| 203 | + " --path PATH Path to project (default: .)\n", |
| 204 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n" |
222 | 205 | ] |
223 | 206 | } |
224 | 207 | ], |
|
245 | 228 | "name": "stdout", |
246 | 229 | "output_type": "stream", |
247 | 230 | "text": [ |
248 | | - "usage: plash_logs [-h] [--path PATH] [--app_id APP_ID] [--mode {build,app}]\r\n", |
249 | | - " [--tail]\r\n", |
250 | | - "\r\n", |
251 | | - "Prints the logs for your deployed app\r\n", |
252 | | - "\r\n", |
253 | | - "options:\r\n", |
254 | | - " -h, --help show this help message and exit\r\n", |
255 | | - " --path PATH Path to project (default: .)\r\n", |
256 | | - " --app_id APP_ID Overrides the .plash file in project root if provided\r\n", |
257 | | - " --mode {build,app} Choose between build or app logs (default: build)\r\n", |
258 | | - " --tail Tail the logs (default: False)\r\n", |
259 | | - "\n" |
| 231 | + "usage: plash_logs [-h] [--path PATH] [--app_id APP_ID] [--mode {build,app}] [--tail]\n", |
| 232 | + "\n", |
| 233 | + "Prints the logs for your deployed app\n", |
| 234 | + "\n", |
| 235 | + "options:\n", |
| 236 | + " -h, --help show this help message and exit\n", |
| 237 | + " --path PATH Path to project (default: .)\n", |
| 238 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n", |
| 239 | + " --mode {build,app} Choose between build or app logs (default: build)\n", |
| 240 | + " --tail Tail the logs (default: False)\n" |
260 | 241 | ] |
261 | 242 | } |
262 | 243 | ], |
|
283 | 264 | "name": "stdout", |
284 | 265 | "output_type": "stream", |
285 | 266 | "text": [ |
286 | | - "usage: plash_download [-h] [--path PATH] [--app_id APP_ID]\r\n", |
287 | | - " [--save_path SAVE_PATH]\r\n", |
288 | | - "\r\n", |
289 | | - "Download your deployed app\r\n", |
290 | | - "\r\n", |
291 | | - "options:\r\n", |
292 | | - " -h, --help show this help message and exit\r\n", |
293 | | - " --path PATH Path to project (default: .)\r\n", |
294 | | - " --app_id APP_ID Overrides the .plash file in project root if provided\r\n", |
295 | | - " --save_path SAVE_PATH Save path (optional) (default: download)\r\n", |
296 | | - "\n" |
| 267 | + "usage: plash_download [-h] [--path PATH] [--app_id APP_ID] [--save_path SAVE_PATH]\n", |
| 268 | + "\n", |
| 269 | + "Download your deployed app\n", |
| 270 | + "\n", |
| 271 | + "options:\n", |
| 272 | + " -h, --help show this help message and exit\n", |
| 273 | + " --path PATH Path to project (default: .)\n", |
| 274 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n", |
| 275 | + " --save_path SAVE_PATH Save path (optional) (default: download)\n" |
297 | 276 | ] |
298 | 277 | } |
299 | 278 | ], |
|
315 | 294 | "execution_count": null, |
316 | 295 | "id": "0c3663fa", |
317 | 296 | "metadata": {}, |
318 | | - "outputs": [], |
| 297 | + "outputs": [ |
| 298 | + { |
| 299 | + "name": "stdout", |
| 300 | + "output_type": "stream", |
| 301 | + "text": [ |
| 302 | + "usage: plash_delete [-h] [--path PATH] [--app_id APP_ID] [--force]\n", |
| 303 | + "\n", |
| 304 | + "Delete your deployed app\n", |
| 305 | + "\n", |
| 306 | + "options:\n", |
| 307 | + " -h, --help show this help message and exit\n", |
| 308 | + " --path PATH Path to project (default: .)\n", |
| 309 | + " --app_id APP_ID Overrides the .plash file in project root if provided\n", |
| 310 | + " --force Skip confirmation prompt (default: False)\n" |
| 311 | + ] |
| 312 | + } |
| 313 | + ], |
319 | 314 | "source": [ |
320 | 315 | "%%bash\n", |
321 | 316 | "plash_delete --help" |
|
0 commit comments