- PRM, acronym for Personal Repository Manager, is an easy-to-use application that has, as a primary objective, a way of managing your repositories, giving various possibilities to the users, such as categorizing all the added repositories or controlling the To Do's of each repository.
- PRM is written in C++, using only CLI11 to make the command line parsing process, json to read and write the user's storage file and colors.hpp to colorize some parts of the output.
$ prm add <repository-name> -l <clone-link> -c <category>
$ prm remove <repository-name>...
$ prm list
$ prm update <repository-name> -n <new-name> -l <new-link> -c <new-category>
$ prm clone <repository-name>
$ prm todo <repository-name> add <goal>
$ prm todo <repository-name> remove <todo-number>...
$ prm todo <repository-name> list
$ prm todo <repository-name> update <new-goal> -n <todo-number>
$ prm version
- PRM uses CMake 3.22.1 as the minimun required version and make in the installation process, so is extremely easy to install the project from the source code, you just need to have them and execute the install.sh if you are using a Linux distro or macOS or the install.ps1 if you are using Windows. After that you need to restart the session and everything should be fine. Also, remember to clone the repository with
--recurse-submodules
.
- If after the installation described above in the "How to install" section you can not execute the binary via terminal just typing
prm
you can just open an issue and I will try to help.
- If you are on Linux or macOS you just need to execute the following steps:
$ rm $HOME/.local/bin/prm
$ rm $HOME/.config/.prm.json
You also have the option to open the .profile file located in your home directory and remove the
.local/bin
path inclusion that is automatically added by PRM if it does not exists. But keep in mind that if you remove it, you can broke other apps.
- But if you installed manually but are on Windows you just need to execute the following steps:
> rm $env:ProgramFiles\prm
> rm $env:APPDATA\.prm.json
> $oldPath = [Environment]::GetEnvironmentVariable("PATH", "User")
> $newPath = $oldPath.Replace(";$env:ProgramFiles\prm", "")
> [Environment]::SetEnvironmentVariable("PATH", $newPath, "User")
- Antonio Lucas for the README and code typo review!