mirror of https://github.com/Chocobozzz/PeerTube
Add peertube-runner version info
parent
8d5ffb0169
commit
5b2ee4e6ca
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue