()
| 12 | import { getVersion } from "./version.js"; |
| 13 | |
| 14 | function getVersionInfo(): string[] { |
| 15 | const version = getVersion(); |
| 16 | const cwd = process.cwd(); |
| 17 | |
| 18 | return [ |
| 19 | chalk.white("CLI Information:"), |
| 20 | ` Version: ${chalk.green(version)}`, |
| 21 | ` Working Directory: ${chalk.blue(cwd)}`, |
| 22 | ]; |
| 23 | } |
| 24 | |
| 25 | function getConfigInfo(): string[] { |
| 26 | const lines: string[] = ["", chalk.white("Configuration:")]; |
no test coverage detected