X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fhelp.sh;h=b58f52fa0d8d087c92a154005be9880b6eb9e44a;hb=bf1c3c78b0e2b70bb46168a9dec0d3fa0997ab14;hp=3ed9f15cc71784aafaf3b47c7f816c891a4245c3;hpb=9353449515ff6881a54ce6887297b7eab2855186;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/help.sh b/scripts/help.sh index 3ed9f15cc..b58f52fa0 100755 --- a/scripts/help.sh +++ b/scripts/help.sh @@ -1,24 +1,21 @@ -#!/usr/bin/env sh +#!/bin/sh + +set -eu printf "############# PeerTube help #############\n\n" printf "npm run ...\n" -printf " build -> Build the application\n" -printf " build:client -> Build the client (css, js files)\n" -printf " build:client:sass -> Build the sass files\n" -printf " build:client:tsc -> Build the javascript files\n" -printf " clean -> Clean the application\n" -printf " clean:client -> Clean the client (css, js files)\n" -printf " clean:client:sass -> Clean the sass build files\n" -printf " clean:client:tsc -> Clean the javascript files\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 " watch:client:sass -> Watch the sass client files\n" -printf " watch:client:tsc -> Watch the typescript 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 " livereload -> Run the livereload on the client\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 " 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"