(value: Exclude<NextStepParamValue, boolean>)
| 28 | } |
| 29 | |
| 30 | function formatCliParamValue(value: Exclude<NextStepParamValue, boolean>): string { |
| 31 | if (typeof value === 'string' || typeof value === 'number') { |
| 32 | return formatCliArg(String(value)); |
| 33 | } |
| 34 | return shellEscapeArg(JSON.stringify(value)); |
| 35 | } |
| 36 | |
| 37 | function formatNextStepForCli(step: NextStep): string { |
| 38 | const commandName = step.cliTool ?? (step.tool ? toKebabCase(step.tool) : undefined); |
no test coverage detected