Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add more options to up invocation #1008

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/__tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const defaultConfig: Record<string, string> = {
'target-dependents': 'false',
'exclude-protected': 'false',
'plan': '',
'log-verbosity': '9',
'tracing': 'file:./up.trace',
'log-to-stderr': 'false',
'debug': 'false',

};

function setupMockedConfig(config: Record<string, string>) {
Expand Down
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
};
}
Expand Down