From 6b98f797069ee49902aaa566a1b6de00d40a49c1 Mon Sep 17 00:00:00 2001 From: Lee Briggs Date: Tue, 8 Aug 2023 06:50:16 -0700 Subject: [PATCH] add more options to up invocation --- src/__tests__/config.test.ts | 5 +++++ src/config.ts | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/__tests__/config.test.ts b/src/__tests__/config.test.ts index c6b1344d..79044dca 100644 --- a/src/__tests__/config.test.ts +++ b/src/__tests__/config.test.ts @@ -17,6 +17,11 @@ const defaultConfig: Record = { 'target-dependents': 'false', 'exclude-protected': 'false', 'plan': '', + 'log-verbosity': '9', + 'tracing': 'file:./up.trace', + 'log-to-stderr': 'false', + 'debug': 'false', + }; function setupMockedConfig(config: Record) { diff --git a/src/config.ts b/src/config.ts index f84e0270..f4ecf82d 100644 --- a/src/config.ts +++ b/src/config.ts @@ -70,6 +70,10 @@ export function makeConfig() { }), excludeProtected: getBooleanInput('exclude-protected'), plan: getInput('plan'), + logVerbosity: getNumberInput('log-verbosity', {}), + tracing: getInput('tracing'), + logToStdErr: getBooleanInput('log-to-stderr'), + debug: getBooleanInput('debug'), }, }; }