64c04995b3
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
26 lines
374 B
Go
26 lines
374 B
Go
package managers
|
|
|
|
// NewApk creates a new Manager instance.
|
|
func NewApk() *Manager {
|
|
return &Manager{
|
|
command: "apk",
|
|
flags: ManagerFlags{
|
|
global: []string{
|
|
"--no-cache",
|
|
},
|
|
install: []string{
|
|
"add",
|
|
},
|
|
remove: []string{
|
|
"del", "--rdepends",
|
|
},
|
|
refresh: []string{
|
|
"update",
|
|
},
|
|
update: []string{
|
|
"upgrade",
|
|
},
|
|
},
|
|
}
|
|
}
|