Add peertube-runner version info

pull/5593/head
Chocobozzz 2023-05-09 10:45:37 +02:00
parent 8d5ffb0169
commit 5b2ee4e6ca
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -5,7 +5,10 @@ import { listRegistered, registerRunner, unregisterRunner } from './register'
import { RunnerServer } from './server' import { RunnerServer } from './server'
import { ConfigManager, logger } from './shared' import { ConfigManager, logger } from './shared'
const packageJSON = require('./package.json')
const program = new Command() const program = new Command()
.version(packageJSON.version)
.option( .option(
'--id <id>', '--id <id>',
'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine', 'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine',