Commit 900d862
committed
feat(cli): read configure-wifi credentials from environment variables
configure-wifi only prompted interactively, which blocks scripted or headless provisioning. When COUCHLINK_WIFI_SSID and COUCHLINK_WIFI_PASSWORD are both set, use them instead of prompting, with the same length checks. Env vars keep the password out of argv and shell history.1 parent e8e413d commit 900d862
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
278 | 295 | | |
279 | 296 | | |
280 | 297 | | |
| |||
0 commit comments