(origin: string)
| 223 | } |
| 224 | |
| 225 | function formatReuseNotice(origin: string): string { |
| 226 | return ( |
| 227 | `${chalk.hex(darkColors.warning)('A server is already running')} at ${origin} — ` + |
| 228 | `the options from this command were not applied. ` + |
| 229 | `Run ${chalk.bold('kimi server kill')} first to bind a new host/port.\n` |
| 230 | ); |
| 231 | } |
| 232 | |
| 233 | function formatReadyLine(origin: string, token: string | undefined): string { |
| 234 | return `Kimi server: ${buildOpenableUrl(origin, token)}\n`; |