beyondmeh/piu

OpenSUSE / zypper

beyondmeh opened this issue · 2 comments

Add support for zypper which is OpenSUSE's package manager

  • (i)nstall - sudo zypper in $1
  • (r)emove
  • (p)urge
  • (s)earch - zypper search $1
  • (m)anual - sudo zypper in $1
  • (u)pdate - sudo zypper up
  • (c)ache - sudo zypper ref
  • (l)ist
  • (f)iles - see #14
  • (nu) num-updates
  • (np) num-packages

  • Add OpenSUSE to README with logo.
gtsop commented

Just a suggestion here, in this PR i've got a function that can be very useful for ensuring a package manager wrapper has implemented the full interface. Will probably help to keep things in line as the interface and the managers grow.

https://github.com/beyondmeh/piu/pull/17/files#diff-04d7e0ccb27079600cba088e7fd6106aa39a43949370178707916343e6e206b6R37-R45