diff --git a/packages/pockethost/src/cli/commands/PocketBaseCommand/index.ts b/packages/pockethost/src/cli/commands/PocketBaseCommand/index.ts index fa4a5155..2c215f5b 100644 --- a/packages/pockethost/src/cli/commands/PocketBaseCommand/index.ts +++ b/packages/pockethost/src/cli/commands/PocketBaseCommand/index.ts @@ -1,7 +1,7 @@ import { Command } from 'commander' import { UpdateCommand } from './UpdateCommand' -export const GobotCommand = () => { +export const PocketBaseCommand = () => { const cmd = new Command(`pocketbase`).description(`PocketBase commands`) cmd.addCommand(UpdateCommand()) diff --git a/packages/pockethost/src/cli/index.ts b/packages/pockethost/src/cli/index.ts index bfad1a53..e715669a 100755 --- a/packages/pockethost/src/cli/index.ts +++ b/packages/pockethost/src/cli/index.ts @@ -14,9 +14,9 @@ import { import { GobotService } from '../services/GobotService' import { EdgeCommand } from './commands/EdgeCommand' import { FirewallCommand } from './commands/FirewallCommand' -import { GobotCommand } from './commands/GobotCommand' import { HealthCommand } from './commands/HealthCommand' import { MothershipCommand } from './commands/MothershipCommand' +import { PocketBaseCommand } from './commands/PocketBaseCommand' import { SendMailCommand } from './commands/SendMailCommand' import { ServeCommand } from './commands/ServeCommand' @@ -44,7 +44,7 @@ export const main = async () => { .addCommand(FirewallCommand()) .addCommand(SendMailCommand()) .addCommand(ServeCommand()) - .addCommand(GobotCommand()) + .addCommand(PocketBaseCommand()) await program.parseAsync() }