update docs

This commit is contained in:
ksyasuda 2022-06-04 16:24:06 -07:00
parent 2e53ac3bfc
commit e5772469c7
3 changed files with 25 additions and 4 deletions

View File

@ -36,12 +36,13 @@ help_text() {
printf "%s\n" "$line" printf "%s\n" "$line"
done <<< " done <<< "
Usage: Usage:
aniwrapper [-dhpqSv] [-t <theme> | -T <config_path>] [<query>] aniwrapper [-adhpqSv] [-t <theme> | -T <config_path>] [<query>]
aniwrapper -f <directory_path> [-t <theme> | -T <config_path>] [-pSv] [<query>]\ aniwrapper -f <directory_path> [-t <theme> | -T <config_path>] [-pSv] [<query>]\
aniwrapper -c [-dhpqSv] [<query>] aniwrapper -c [-dhpqSv] [<query>]
aniwrapper -Q <query> aniwrapper -Q <query>
aniwrapper -C aniwrapper -C
Options: Options:
-a enable autoplay
-c enable command-line mode (rofi disabled) -c enable command-line mode (rofi disabled)
-C connect to history database -C connect to history database
-d download episode in command-line mode -d download episode in command-line mode

View File

@ -1,5 +1,19 @@
.\" Automatically generated by Pandoc 2.14.2 .\" Automatically generated by Pandoc 2.17.1.1
.\" .\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "ANIWRAPPER" "1" "February 4, 2022" "aniwrapper 1.0.0" "Man Page" .TH "ANIWRAPPER" "1" "February 4, 2022" "aniwrapper 1.0.0" "Man Page"
.hy .hy
.SH NAME .SH NAME
@ -8,7 +22,7 @@ aniwrapper - A rofi wrapper around ani-cli: a command-line tool to
stream, download, and play anime stream, download, and play anime
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
\f[B]aniwrapper\f[R] [-dhpqrSv] [-t \f[I]theme\f[R] | -T \f[B]aniwrapper\f[R] [-adhpqrSv] [-t \f[I]theme\f[R] | -T
\f[I]config_path\f[R]] [\f[I]query\f[R]] \f[I]config_path\f[R]] [\f[I]query\f[R]]
.PD 0 .PD 0
.P .P
@ -43,6 +57,9 @@ aniwrapper.rasi theme
.IP \[bu] 2 .IP \[bu] 2
best quality best quality
.TP .TP
\f[B]-a\f[R]
Enable autoplay in streaming mode
.TP
\f[B]-c\f[R] \f[B]-c\f[R]
Enable command-line mode (disable \f[B]rofi\f[R]) Enable command-line mode (disable \f[B]rofi\f[R])
.TP .TP

View File

@ -12,7 +12,7 @@ aniwrapper - A rofi wrapper around ani-cli: a command-line tool to stream, downl
# SYNOPSIS # SYNOPSIS
**aniwrapper** [-dhpqrSv] [-t _theme_ | -T _config_path_] [_query_]\ **aniwrapper** [-adhpqrSv] [-t _theme_ | -T _config_path_] [_query_]\
**aniwrapper** -f _directory_path_ [-t _theme_ | -T _config_path_] [-pSv] [_query_]\ **aniwrapper** -f _directory_path_ [-t _theme_ | -T _config_path_] [-pSv] [_query_]\
**aniwrapper** -c [-dhpqrSv] [_query_]\ **aniwrapper** -c [-dhpqrSv] [_query_]\
**aniwrapper** -Q _query_\ **aniwrapper** -Q _query_\
@ -32,6 +32,9 @@ Defaults:
- aniwrapper.rasi theme - aniwrapper.rasi theme
- best quality - best quality
**-a**
: Enable autoplay in streaming mode
**-c** **-c**
: Enable command-line mode (disable **rofi**) : Enable command-line mode (disable **rofi**)