mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 08:14:46 +00:00
🎨 Port package to types
This refactors DefaultPackage into types.Package and gets rid of the interface. This is a preceeding for a follow up where accessors will be removed from the code. It also does several cleanup, so we get rid also of some unneeded dependencies.
This commit is contained in:
@@ -36,7 +36,7 @@ This commands takes multiple packages as arguments and prunes their entries from
|
||||
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
systemDB := util.DefaultContext.Config.GetSystemDB()
|
||||
systemDB := util.SystemDB(util.DefaultContext.Config)
|
||||
|
||||
for _, a := range args {
|
||||
pack, err := helpers.ParsePackageStr(a)
|
||||
|
Reference in New Issue
Block a user