diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-09 10:45:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-09 10:45:37 +0200 |
commit | 5b2ee4e6cacd8371058168a75d66d61944f069fd (patch) | |
tree | 8b666aeb0a645e8c8b6924e7edb18b66574f225a /packages/peertube-runner/peertube-runner.ts | |
parent | 8d5ffb016934b5d5a12ed251d212c38aa4578a0f (diff) | |
download | PeerTube-5b2ee4e6cacd8371058168a75d66d61944f069fd.tar.gz PeerTube-5b2ee4e6cacd8371058168a75d66d61944f069fd.tar.zst PeerTube-5b2ee4e6cacd8371058168a75d66d61944f069fd.zip |
Add peertube-runner version info
Diffstat (limited to 'packages/peertube-runner/peertube-runner.ts')
-rw-r--r-- | packages/peertube-runner/peertube-runner.ts | 3 |
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' | |||
5 | import { RunnerServer } from './server' | 5 | import { RunnerServer } from './server' |
6 | import { ConfigManager, logger } from './shared' | 6 | import { ConfigManager, logger } from './shared' |
7 | 7 | ||
8 | const packageJSON = require('./package.json') | ||
9 | |||
8 | const program = new Command() | 10 | const 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', |