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.ts9
1 files changed, 2 insertions, 7 deletions
diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts
index a40c1332e..9e07640f0 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
@@ -47,7 +43,7 @@ if (!process.argv.slice(2).length) {
47 / / -" _/"/ 43 / / -" _/"/
48 / | ._\\\\ |\\ |_.".-" / 44 / | ._\\\\ |\\ |_.".-" /
49 / | __\\)|)|),/|_." _,." 45 / | __\\)|)|),/|_." _,."
50 / \_." " ") | ).-""---''-- 46 / \\_." " ") | ).-""---''--
51 ( "/.""7__-""'' 47 ( "/.""7__-""''
52 | " ."._--._ 48 | " ."._--._
53 \\ \\ (_ __ "" ".,_ 49 \\ \\ (_ __ "" ".,_
@@ -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 })