X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fhelp.sh;h=8ac0901396c5be129ca1759ef10948c2ef3e9098;hb=e20015d744fe9d637bfa6924194f54eecbbd6722;hp=a2c8e4df0861da91929cd90de1b5814303b3a93d;hpb=fc76359be11956f8514fc0dda1f66bb1c3397d26;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/help.sh b/scripts/help.sh index a2c8e4df0..8ac090139 100755 --- a/scripts/help.sh +++ b/scripts/help.sh @@ -1,18 +1,26 @@ -#!/usr/bin/env sh +#!/bin/sh + +set -eu printf "############# PeerTube help #############\n\n" printf "npm run ...\n" -printf " build -> Build the application for production (alias of build:client:prod)\n" -printf " build:client:dev -> Build the client for development\n" -printf " build:client:prod -> Build the client for production\n" -printf " clean -> Clean the application\n" -printf " clean:client -> Clean the client build files (dist directory)\n" -printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n" -printf " watch:client -> Watch the client files\n" -printf " danger:clean:server -> /!\ Clean certificates, logs, uploads and database\n" -printf " danger:clean:modules -> /!\ Clean node and typescript modules\n" -printf " play -> Run 3 fresh nodes so that you can test the communication between them\n" -printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" -printf " start -> Run the server\n" -printf " test -> Run the tests\n" -printf " help -> Print this help\n" +printf " build -> Build the application for production (alias of build:client:prod)\n" +printf " build:server -> Build the server for production\n" +printf " build:client -> Build the client for production\n" +printf " clean:client -> Clean the client build files (dist directory)\n" +printf " clean:server:test -> Clean logs, uploads, database... of the test instances\n" +printf " watch:client -> Watch and compile on the fly the client files\n" +printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified in the development environment\n" +printf " danger:clean:prod -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n" +printf " danger:clean:modules -> /!\ Clean node and typescript modules\n" +printf " play -> Run 3 fresh nodes so that you can test the communication between them\n" +printf " reset-password -- -u [user] -> Reset the password of user [user]\n" +printf " create-transcoding-job -- -v [video UUID] \n" +printf " -> Create a transcoding job for a particular video\n" +printf " prune-storage -> Delete (after confirmation) unknown video files/thumbnails/previews... (due to a bad video deletion, transcoding job not finished...)\n" +printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" +printf " start -> Run the server\n" +printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n" +printf " client-report -> Open a report of the client dependencies module\n" +printf " test -> Run the tests\n" +printf " help -> Print this help\n"