mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Rename the `server/` directory to `hub/` and update all references across CLI, docs, web, and workspace configuration.
13 lines
424 B
TypeScript
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)
|
|
}
|
|
}
|