mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-26 18:50:39 -06:00
Add peertube-runner version info
This commit is contained in:
parent
8d5ffb0169
commit
5b2ee4e6ca
@ -5,7 +5,10 @@ import { listRegistered, registerRunner, unregisterRunner } from './register'
|
||||
import { RunnerServer } from './server'
|
||||
import { ConfigManager, logger } from './shared'
|
||||
|
||||
const packageJSON = require('./package.json')
|
||||
|
||||
const program = new Command()
|
||||
.version(packageJSON.version)
|
||||
.option(
|
||||
'--id <id>',
|
||||
'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine',
|
||||
|
Loading…
Reference in New Issue
Block a user