mirror of
https://github.com/pockethost/pockethost.git
synced 2025-07-08 22:02:33 +00:00
21 lines
449 B
TypeScript
21 lines
449 B
TypeScript
import { program } from 'commander'
|
|
|
|
declare global {
|
|
let __go_app: any
|
|
}
|
|
|
|
import 'cross-fetch/polyfill'
|
|
import 'eventsource'
|
|
import packagex from '../package.json'
|
|
import { addPublishCommand } from './commands/publish'
|
|
console.log(`PBScript ${packagex.version}`)
|
|
|
|
program
|
|
.name('pbscript')
|
|
.description('CLI for JavaScript extensions for PocketBase ')
|
|
.version('0.0.1')
|
|
addPublishCommand(program)
|
|
// addDevCommand(program)
|
|
|
|
program.parse()
|