aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-09 10:45:37 +0200
committerChocobozzz <me@florianbigard.com>2023-05-09 10:45:37 +0200
commit5b2ee4e6cacd8371058168a75d66d61944f069fd (patch)
tree8b666aeb0a645e8c8b6924e7edb18b66574f225a
parent8d5ffb016934b5d5a12ed251d212c38aa4578a0f (diff)
downloadPeerTube-5b2ee4e6cacd8371058168a75d66d61944f069fd.tar.gz
PeerTube-5b2ee4e6cacd8371058168a75d66d61944f069fd.tar.zst
PeerTube-5b2ee4e6cacd8371058168a75d66d61944f069fd.zip
Add peertube-runner version info
-rw-r--r--packages/peertube-runner/peertube-runner.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/peertube-runner/peertube-runner.ts b/packages/peertube-runner/peertube-runner.ts
index ddad84f1f..9c3e498d6 100644
--- a/packages/peertube-runner/peertube-runner.ts
+++ b/packages/peertube-runner/peertube-runner.ts
@@ -5,7 +5,10 @@ import { listRegistered, registerRunner, unregisterRunner } from './register'
5import { RunnerServer } from './server' 5import { RunnerServer } from './server'
6import { ConfigManager, logger } from './shared' 6import { ConfigManager, logger } from './shared'
7 7
8const packageJSON = require('./package.json')
9
8const program = new Command() 10const program = new Command()
11 .version(packageJSON.version)
9 .option( 12 .option(
10 '--id <id>', 13 '--id <id>',
11 'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine', 14 'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine',