()
| 68421 | Object.entries(details.values).forEach(([provider, values]) => { |
| 68422 | console.log(source_default.gray(` ${provider}:`)); |
| 68423 | values.forEach((value) => { |
| 68424 | console.log(source_default.gray(` - ${value}`)); |
| 68425 | }); |
| 68426 | }); |
| 68427 | } |
| 68428 | } |
| 68429 | function printAllConfigHelp() { |
| 68430 | console.log(source_default.bold("Available config parameters:")); |
| 68431 | for (const key of Object.values(CONFIG_KEYS).sort()) { |
| 68432 | const details = getConfigKeyDetails(key); |
| 68433 | let defaultValue = void 0; |
| 68434 | if (key in DEFAULT_CONFIG) { |
| 68435 | defaultValue = DEFAULT_CONFIG[key]; |
| 68436 | } |
| 68437 | console.log(source_default.bold(` |
| 68438 | ${key}:`)); |
| 68439 | console.log(source_default.gray(` Description: ${details.description}`)); |
| 68440 | if (defaultValue !== void 0) { |
| 68441 | if (typeof defaultValue === "string") { |
| 68442 | console.log(source_default.gray(` Default: ${defaultValue}`)); |
| 68443 | } else { |
| 68444 | console.log(source_default.gray(` Default: ${defaultValue}`)); |
| 68445 | } |
| 68446 | } |
| 68447 | } |
| 68448 | console.log( |
| 68449 | source_default.yellow( |
| 68450 | '\nUse "oco config describe [PARAMETER]" to see accepted values and more details for a specific config parameter.' |
no test coverage detected
searching dependent graphs…