(options: CLIOptions)
| 42 | |
| 43 | // eslint-disable-next-line @typescript-eslint/no-unused-vars |
| 44 | async run(options: CLIOptions): Promise<void> { |
| 45 | await this.loadDepencyPackageInfo(); |
| 46 | const packages = [...config.packageInfo].sort((p1, p2) => |
| 47 | p1.name < p2.name ? 1 : -1, |
| 48 | ); |
| 49 | info.topLevel(''); |
| 50 | for (const pkg of packages) { |
| 51 | const version = chalk.grey(`@${pkg.version}`); |
| 52 | info.topLevel(` ${pkg.name}${version}`); |
| 53 | if (config.verbose && pkg.packageLocation) { |
| 54 | info.lowLevel(` ${pkg.packageLocation}`); |
| 55 | } |
| 56 | } |
| 57 | info.topLevel(''); |
| 58 | } |
| 59 | } |
nothing calls this directly
no test coverage detected