aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/peertube.ts')
-rw-r--r--server/tools/peertube.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts
index a40c1332e..34152bd13 100644
--- a/server/tools/peertube.ts
+++ b/server/tools/peertube.ts
@@ -1,7 +1,5 @@
1#!/usr/bin/env node 1#!/usr/bin/env node
2 2
3/* eslint-disable no-useless-escape */
4
5import { registerTSPaths } from '../helpers/register-ts-paths' 3import { registerTSPaths } from '../helpers/register-ts-paths'
6registerTSPaths() 4registerTSPaths()
7 5
@@ -18,8 +16,6 @@ program
18 .command('upload', 'upload a video').alias('up') 16 .command('upload', 'upload a video').alias('up')
19 .command('import-videos', 'import a video from a streaming platform').alias('import') 17 .command('import-videos', 'import a video from a streaming platform').alias('import')
20 .command('get-access-token', 'get a peertube access token', { noHelp: true }).alias('token') 18 .command('get-access-token', 'get a peertube access token', { noHelp: true }).alias('token')
21 .command('watch', 'watch a video in the terminal ✩°。⋆').alias('w')
22 .command('repl', 'initiate a REPL to access internals')
23 .command('plugins [action]', 'manage instance plugins/themes').alias('p') 19 .command('plugins [action]', 'manage instance plugins/themes').alias('p')
24 .command('redundancy [action]', 'manage instance redundancies').alias('r') 20 .command('redundancy [action]', 'manage instance redundancies').alias('r')
25 21
@@ -72,8 +68,7 @@ getSettings()
72 .addHelpText('after', '\n\n State: ' + state + '\n\n' + 68 .addHelpText('after', '\n\n State: ' + state + '\n\n' +
73 ' Examples:\n\n' + 69 ' Examples:\n\n' +
74 ' $ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD"\n' + 70 ' $ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD"\n' +
75 ' $ peertube up <videoFile>\n' + 71 ' $ peertube up <videoFile>\n'
76 ' $ peertube watch https://peertube.cpy.re/videos/watch/e8a1af4e-414a-4d58-bfe6-2146eed06d10\n'
77 ) 72 )
78 .parse(process.argv) 73 .parse(process.argv)
79 }) 74 })