summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--pkg.142
2 files changed, 46 insertions, 4 deletions
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
+<command>
+.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