(msg?: string)
| 25 | |
| 26 | /** Write a message to stdout (if given) and exit with code 0. */ |
| 27 | export function cliOk(msg?: string): never { |
| 28 | if (msg) process.stdout.write(msg + '\n') |
| 29 | process.exit(0) |
| 30 | return undefined as never |
| 31 | } |
| 32 | |
| 33 |
no test coverage detected