From 616290ed41c95750f1505cfff97ec977979345c5 Mon Sep 17 00:00:00 2001 From: chiu1028 <31892374+chiu1028@users.noreply.github.com> Date: Tue, 31 Aug 2021 01:42:36 +0800 Subject: [PATCH] Fix support for multiple app arguments (#19) --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index e9a0cbb..25d7fb5 100755 --- a/cli.js +++ b/cli.js @@ -47,7 +47,7 @@ if (!input && process.stdin.isTTY) { process.exit(1); } -const [, appName, appArguments] = cli.input; +const [, appName, ...appArguments] = cli.input; if (appName) { options.app = { name: appName,