| Crates.io | moree |
| lib.rs | moree |
| version | 0.1.0 |
| created_at | 2024-11-12 12:48:49.500773+00 |
| updated_at | 2024-11-12 12:48:49.500773+00 |
| description | A command-line tool for explicitly managing package installations reasons. |
| homepage | |
| repository | https://github.com/tenzyu/moree |
| max_upload_size | |
| id | 1444900 |
| size | 44,392 |
more explicit package management
Tired of forgetting why you installed certain packages? moree helps you explicitly manage your package installations by recording the reasons behind them. This brings clarity to your system's software and reduces future decision fatigue when reviewing or updating your packages. Take control of your package management and understand the "why" behind every install.
Set an alias as moe if you don't have another moe command.
# .zshrc
alias moe="moree"
moe [command] [flags]
Running moe without a command will display the help.
add [packages...]
packages: Interactively confirms the explicit installation status of the specified, already installed package(s). If a package isn't installed, an error is displayed.packages: Interactively reviews all installed packages on your system, prompting you to mark them as explicitly installed or dependencies. Includes a "Quit" option to stop the process and optionally save changes.apply Reinstalls packages based on the installation reasons managed by moree.
--with-install: Installs packages marked as explicitly installed by moree that aren't currently on your system.--with-uninstall: Uninstalls packages present on your system but not marked as explicitly installed by moree.--sync: A shorthand for --with-install --with-uninstall, synchronizing your system with the moree state.unmanaged Lists packages installed on your system that aren't managed by moree.
diff [--all]
moree managed state with your currently installed packages (explicitly and as dependencies), highlighting discrepancies with '+' and '-'.--all: Extends the diff to show packages managed by moree but not installed, and unmanaged packages installed explicitly. Note: Unmanaged dependencies are not shown.query Retrieves package information.
--explicit or -e: Lists all explicitly installed packages managed by moree.--deps or -d: Lists all packages marked as dependencies by moree.--information or -i: Prints detailed information (explicit status, memo) for all managed packages. -e and -d flags can be combined with this flag.edit <package> Interactively edits the explicit status and memo for the specified package.
--data <path> Specifies the path to the moree state file. Defaults to $XDG_DATA_HOME/moree/state.json.
moe add # Review and categorize installed packages.
moe apply # Reinstall packages according to their explicit status.
moe query -e > .config/tenzyu/packages#arch # Save a list of explicitly installed packages to a file.
moe query -i # Review detailed information about all managed packages, including installation reasons.
Thank you for discovering this somewhat hidden repository! If you find moree useful or interesting, please consider starring it. Your support motivates further development.