From 57b30459d4bb261d4f07fa6a80ffa0d747b1c722 Mon Sep 17 00:00:00 2001 From: rafa_99 Date: Wed, 23 Sep 2020 14:50:32 +0000 Subject: Added Manpage --- Makefile | 8 ++++---- pkg.1 | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 pkg.1 diff --git a/Makefile b/Makefile index d01535a..16de99b 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ install: all mkdir -p /usr/local/bin cp -f pkg /usr/local/bin chmod 755 /usr/local/bin - # mkdir -p /local/share/man/man1 - # cp -f pkg.1 /local/share/man/man1 - # chmod 644 /local/share/man/man1/pkg.1 + mkdir -p /local/share/man/man1 + cp -f pkg.1 /local/share/man/man1 + chmod 644 /local/share/man/man1/pkg.1 uninstall: rm -rf /usr/local/bin/pkg - # rm -f /local/share/man/man1/pkg.1 + rm -f /local/share/man/man1/pkg.1 diff --git a/pkg.1 b/pkg.1 new file mode 100644 index 0000000..a7e38d0 --- /dev/null +++ b/pkg.1 @@ -0,0 +1,42 @@ +.TH PKG 1 pkg +.SH NAME +PKG \- A All-In-One package manager wrapper for easier distro-hopping +.SH SYNOPSIS +.B pkg + +.SH DESCRIPTION +.B pkg +finds the right package manager according to the Operating System and then executes the desired action on it. +.SH COMMANDS +.TP +.B c +.I clean +- configure an email account +.TP +.B h +.I help +- shows help message +.TP +.B i +.I install +- installs selected packages +.TP +.B q +.I query +- display installed packages +.TP +.B r +.I remove +- remove a selected package +.TP +.B s +.I search +- look up for a package in the available repositories +.TP +.B u +.I update +- updates repos and packages +.SH AUTHORS +Written by Rafael Marçalo originally in 2020. +.SH LICENSE +GPLv3 -- cgit v1.2.3