Files
hapi/cli/src/commands/notify.ts
T
weishu 37e10a831b feat: rename server package to hub
Rename the `server/` directory to `hub/` and update all references
across CLI, docs, web, and workspace configuration.
2026-01-27 19:51:21 +08:00

13 lines
424 B
TypeScript

import chalk from 'chalk'
import type { CommandDefinition } from './types'
export const notifyCommand: CommandDefinition = {
name: 'notify',
requiresRuntimeAssets: true,
run: async () => {
console.error(chalk.red('The `hapi notify` command is not available in direct-connect mode.'))
console.error(chalk.gray('Use Telegram notifications from hapi-hub instead.'))
process.exit(1)
}
}