From 3fe6bcab0a00ff83b8d2c471e2744fce8d305b81 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Sun, 7 Nov 2021 18:34:57 +0100 Subject: [PATCH] Add manpage --- doc/peertube-cli.1 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/peertube-cli.1 b/doc/peertube-cli.1 index e69de29..645d1e3 100644 --- a/doc/peertube-cli.1 +++ b/doc/peertube-cli.1 @@ -0,0 +1,23 @@ +.TH peertube-cli 1 2021-11-07 KILL-9 + +.SH NAME +peertube-cli \- A peertube CLI client. +.SH SYPNOSIS +.B peertube-cli +[\-\-instance=INSTANCE] [\-\-resolution=[0|1|...|n]] [\-\-player=PLAYER] [URL] +.SH DESCRIPTION +peertube-cli is a peertube client. If no parameters are given, it will +use the config file +.B +~/.ptclirc +or anything in the +.B +PTCLIRC +env +.SH CONFIG +The file +.B +~/.ptclirc +is written in perl using perl's hashes. And it contains 3 +values, instance, resolution and player. peertube-cli will use the +values set in this file if nothing is passed with getopt arguments.