From: Olivier Jolly Date: Tue, 27 Mar 2018 14:15:40 +0000 (+0200) Subject: Add privacy setting to upload.js cli (#422) X-Git-Tag: v1.0.0-beta.2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=320f8d7e01eea760ceb8b71727694912eeebd0dc;p=oweals%2Fpeertube.git Add privacy setting to upload.js cli (#422) --- diff --git a/server/tools/upload.ts b/server/tools/upload.ts index 94ea224b6..e835e61f6 100644 --- a/server/tools/upload.ts +++ b/server/tools/upload.ts @@ -12,6 +12,7 @@ program .option('-U, --username ', 'Username') .option('-p, --password ', 'Password') .option('-n, --video-name ', 'Video name') + .option('-P, --privacy ', 'Privacy') .option('-N, --nsfw', 'Video is Not Safe For Work') .option('-c, --category ', 'Category number') .option('-m, --comments-enabled', 'Enable comments') @@ -81,6 +82,7 @@ async function run () { fixture: program['file'], thumbnailfile: program['thumbnailPath'], previewfile: program['previewPath'], + privacy: program['privacy'], support: undefined }