X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftools%2Fpeertube.ts;h=1d3158044c7f33f171615d123ea72dfdacbaa019;hb=68d6e57870dd5ea87a03d13adcfcc72786d8348a;hp=a40c1332e9158f29a375e293af3bea67e023cdb1;hpb=2d4636125182e0cd9ef403d7d2f24ed82680fa8e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts index a40c1332e..1d3158044 100644 --- a/server/tools/peertube.ts +++ b/server/tools/peertube.ts @@ -1,10 +1,5 @@ #!/usr/bin/env node -/* eslint-disable no-useless-escape */ - -import { registerTSPaths } from '../helpers/register-ts-paths' -registerTSPaths() - import { CommandOptions, program } from 'commander' import { getSettings, version } from './cli' @@ -18,8 +13,6 @@ program .command('upload', 'upload a video').alias('up') .command('import-videos', 'import a video from a streaming platform').alias('import') .command('get-access-token', 'get a peertube access token', { noHelp: true }).alias('token') - .command('watch', 'watch a video in the terminal ✩°。⋆').alias('w') - .command('repl', 'initiate a REPL to access internals') .command('plugins [action]', 'manage instance plugins/themes').alias('p') .command('redundancy [action]', 'manage instance redundancies').alias('r') @@ -47,7 +40,7 @@ if (!process.argv.slice(2).length) { / / -" _/"/ / | ._\\\\ |\\ |_.".-" / / | __\\)|)|),/|_." _,." - / \_." " ") | ).-""---''-- + / \\_." " ") | ).-""---''-- ( "/.""7__-""'' | " ."._--._ \\ \\ (_ __ "" ".,_ @@ -72,8 +65,7 @@ getSettings() .addHelpText('after', '\n\n State: ' + state + '\n\n' + ' Examples:\n\n' + ' $ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD"\n' + - ' $ peertube up \n' + - ' $ peertube watch https://peertube.cpy.re/videos/watch/e8a1af4e-414a-4d58-bfe6-2146eed06d10\n' + ' $ peertube up \n' ) .parse(process.argv) })