X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftools%2Fpeertube.ts;h=5d3ab2815db44f1534415fc262849749917322c3;hb=7e9d3f259d5dac0d17ca4f3d6844e8cfbb7e33d1;hp=21609deedbd4d54a502442b981d2bdcafac8b2f9;hpb=5c142a4bab955d2dbe831efd537c2fe52246db13;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts old mode 100755 new mode 100644 index 21609deed..5d3ab2815 --- a/server/tools/peertube.ts +++ b/server/tools/peertube.ts @@ -7,7 +7,7 @@ import { } from './cli' program - .version(version(), '-v, --version') + .version(version, '-v, --version') .usage('[command] [options]') /* Subcommands automatically loaded in the directory and beginning by peertube-* */ @@ -17,6 +17,7 @@ program .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') /* Not Yet Implemented */ program @@ -57,7 +58,7 @@ if (!process.argv.slice(2).length) { ,"\\/ _,.__/"\\/_ (the CLI for red chocobos) / \\) "./, ". - --/---"---" "-) )---- by Chocobozzz et al.`) + --/---"---" "-) )---- by Chocobozzz et al.\n`) } getSettings()