refactor: move install options to pkg/uixt/options/install

This commit is contained in:
lilong.129
2025-02-06 16:45:40 +08:00
parent 0accec04a9
commit b22f24cb6b
9 changed files with 58 additions and 55 deletions

View File

@@ -48,9 +48,9 @@ var installCmd = &cobra.Command{
}
err = driverExt.Install(args[0],
uixt.WithReinstall(replace),
uixt.WithDowngrade(downgrade),
uixt.WithGrantPermission(grant),
options.WithReinstall(replace),
options.WithDowngrade(downgrade),
options.WithGrantPermission(grant),
)
if err != nil {
fmt.Println(err)