From ea6ab9b742779beb69c97a8992f496bae1411102 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 7 Dec 2023 09:17:52 -0800 Subject: [PATCH] feat: configure exit codes (#1363) * feat: configure exit codes * chore: make them all 2 --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index 5a18200d..c8d07995 100644 --- a/package.json +++ b/package.json @@ -121,6 +121,15 @@ ], "warn-if-update-available": { "timeoutInDays": 7 + }, + "exitCodes": { + "default": 1, + "failedFlagParsing": 2, + "failedFlagValidation": 2, + "invalidArgsSpec": 2, + "nonExistentFlag": 2, + "requiredArgs": 2, + "unexpectedArgs": 2 } }, "dependencies": {