From 505a2bf05216de928d667655ee2670ad6c3ff46d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 7 Nov 2023 08:27:19 -0400 Subject: upd8: stub --no-input option --- src/upd8.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/upd8.js b/src/upd8.js index ea4629e..4068374 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -290,6 +290,11 @@ async function main() { type: 'flag', }, + 'no-input': { + help: `Don't wait on input from stdin - assume the device is headless`, + type: 'flag', + }, + // Want sweet, sweet trace8ack info in aggreg8te error messages? This // will print all the juicy details (or at least the first relevant // line) right to your output, 8ut also pro8a8ly give you a headache @@ -456,6 +461,7 @@ async function main() { const thumbsOnly = cliOptions['thumbs-only'] ?? false; const skipReferenceValidation = cliOptions['skip-reference-validation'] ?? false; const noBuild = cliOptions['no-build'] ?? false; + const noInput = cliOptions['no-input'] ?? false; showStepStatusSummary = cliOptions['show-step-summary'] ?? false; -- cgit 1.3.0-6-gf8a5