Add manpages for farfetched, mansplain and scratch

This commit is contained in:
Talia 2020-01-29 13:28:14 +01:00
parent c48d1376b5
commit fd2254bce0
3 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,29 @@
.TH farfetched 1 "" "" "Fetches across great distances"
.SH NAME
.\" #####
\fBfarfetched\fR - fetches git repositories recursively in other directories
.SH SYNOPSIS
\fBfarfetched\fR [directory]
.SH DESCRIPTION
\fBfarfetched\fR fetches all the gitrepositories within a given directory recursively.
If no directory is given, the current working directory is used instead.
.SH OPTIONS
\fBdirectory\fR - the directory to fetch in, defaults to \fB.\fR
.SH AUTHOR
\fBDarkWiiPlayer\fR <darkwiiplayer@hotmail.com>
.SH SEE ALSO
\fBgit(1)\fR,
\fBgit-fetch(1)\fR,
\fBfind(1)\fR

33
manpages/man1/mansplain.1 Normal file
View file

@ -0,0 +1,33 @@
.TH mansplain 1 "" "" "Explains things like you don't know"
.SH NAME
.\" #####
\fBmansplain\fR - shows a selected manpage in zathura
.SH SYNOPSIS
\fBmansplain\fR
.SH DESCRIPTION
\fBmansplain\fR presents the user a menu to select a manpage.
It then shows the selected manpage in a PDF viewer in a separate window.
.SH OPTIONS
\fBnone\fR - mansplain accepts no options as of yet
.SH TODO
mansplain should accept an optional argument to select a manpage directly without showing any menu.
.SH AUTHOR
\fBDarkWiiPlayer\fR <darkwiiplayer@hotmail.com>
.SH SEE ALSO
\fBman(1)\fR,
\fBdmenu(1)\fR,
\fBzathura(1)\fR

35
manpages/man1/scratch.1 Normal file
View file

@ -0,0 +1,35 @@
.TH scratch 1 "" "" "Gives you a directory from scratch"
.SH NAME
.\" #####
\fBscratch\fR - Creates a temporary directory to work in and deletes it when done
.SH SYNOPSIS
\fBscratch\fR
.br
\fBscratch\fR command
.SH DESCRIPTION
\fBscratch\fR creates a temporary directory and starts bash with a hook
to delete the directory after it exits.
When a command is given, the command is started instead of bash.
.SH OPTIONS
\fBcommand\fR - runs this command in the temporary directory and returns instantly when it finishes.
.SH VARIABLES
scratch sets the \fB$scratch\fR environment variable to the new directory before executing the command.
.SH AUTHOR
\fBDarkWiiPlayer\fR <darkwiiplayer@hotmail.com>
.SH SEE ALSO
\fBmktemp(1)\fR,
\fBbash(1)\fR