Commit Graph

33 Commits

Author SHA1 Message Date
e6d814d438 Add more helpful information to the README.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-30 17:21:08 +02:00
a7bae301b3 Add compressed manpage to gitignore.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-29 18:54:52 +02:00
b2f5793c21 Add manpage.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-29 18:53:57 +02:00
edd942b91a Create script to build and install pacundo.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-29 18:29:04 +02:00
b30dea35b8 Implement package management commands.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-26 10:00:28 +02:00
d90016fd8c Obtain package files for installation.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-04-26 09:48:45 +02:00
c08a9f4b40 Simplify and clean up strings and output.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 11:40:57 +01:00
ec535f860c Add TODO for autodetecting AUR helper.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 11:32:38 +01:00
a458f2dc67 Fix filter regex.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 11:14:16 +01:00
615f491433 Simplify get_pkgmgr() subroutine.
Currently it only is configured to deal with pacman or yay (as noted in
the comment). Other AUR helpers would need to be configured.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 10:45:24 +01:00
aa7e2d2fbc Add package manager remove command.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 10:42:49 +01:00
f55124759e Don't print stderr output of commands (send to stdout).
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-28 10:37:46 +01:00
3822696640 Use single print statement for help information.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-27 10:39:14 +01:00
b7e98246ad Align assignment operators.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-27 10:33:50 +01:00
2d4ec58a81 Get package manager variables.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-27 10:26:35 +01:00
9e1ba7159f Simplify code.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-13 17:15:31 +01:00
601b4b7b81 Change license copyright year.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-12 09:27:27 +01:00
8a62fc9064 Avoid invalid ranges.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-11 20:09:16 +01:00
e6514c37d3 Simplify syntax.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-11 20:05:40 +01:00
e11cc694f5 Fix selection regex.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-11 20:02:59 +01:00
4cb213d585 Refactor into subroutines.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-09 16:47:25 +01:00
e9eec6cfcc Use local $~
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-07 16:25:03 +01:00
1065595f6d Change grep format.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-07 16:15:28 +01:00
e7b3192a00 Add 'return' statement to subroutines.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-07 16:12:29 +01:00
891427ead0 Use || instead of 'or'.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-03 18:51:44 +01:00
9dc43cc866 Implement interactive mode.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-03 18:34:18 +01:00
86c20031bc Use // operator for args/flags default values.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-03-01 18:00:25 +01:00
bea2957889 Save transactions to array.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-24 14:15:09 +01:00
9a0a4e03d0 Ensure -t argument is positive integer.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-24 14:02:19 +01:00
a728570c89 Implement log search to find transactions.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-24 13:57:09 +01:00
9bbe9b4a8f Save flags into variables.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-23 18:21:29 +01:00
ddc9514bb1 Add documentation for dry-run flag.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-23 18:08:12 +01:00
aca490651e Initial commit.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
2024-02-22 18:58:30 +01:00