From 5b2ee4e6cacd8371058168a75d66d61944f069fd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 9 May 2023 10:45:37 +0200 Subject: Add peertube-runner version info --- packages/peertube-runner/peertube-runner.ts | 3 +++ 1 file changed, 3 insertions(+) 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' import { RunnerServer } from './server' import { ConfigManager, logger } from './shared' +const packageJSON = require('./package.json') + const program = new Command() + .version(packageJSON.version) .option( '--id ', 'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine', -- cgit v1.2.3