A system agnostic script to install or remove packages.
Go to file
Aragon 50a1e37070
Assemble install and uninstall functions into a single loop
2019-05-26 12:20:22 -03:00
.gitignore Erase commit history 2019-05-19 23:36:59 -03:00
LICENSE Erase commit history 2019-05-19 23:36:59 -03:00
README.md Removed some flags from being parsed 2019-05-25 18:57:49 -03:00
dependency.fish Assemble install and uninstall functions into a single loop 2019-05-26 12:20:22 -03:00

README.md

dependency

Description

A system agnostic function to have dependencies installed or removed.

Options

  • -r/--remove, uninstall packages (instead of installing them).

  • -n/--name [function], output the name of a function that calls for the installation/update of given packages, and ask for permission to have them installed/updated.

  • -f/--force [package], when uninstalling a package, do so by simply deleating its binary.

  • --p/pip [package], describe a package to be handled using pip.

  • --N/npm [package], describe a package to be handled using npm.

  • --P/plugin [package], describe a fish plugin to be handled with either omf or fisher. To install, pass the address of its git repository.

Disclaimer

This script has only been tested on Termux and some Debian-based operating systems, both of which use the apt package manager by default. The commands for verification, installation, updating and uninstallation of other default package managers have been drawn from reference. If you experience problems using this script wih your default package manager, issue reports and pull requests will be most welcome.


Ⓐ Made in Anarchy. No wage slaves were economically coerced into the making of this work.