lib/apk: Fix interactive option
@cuonglm I agreed with you, but then I think twice. We don't try to fix the behavior of the script (interactive vs non-interactive). We let apk do that, and if possible, we give another option for apk (in the recent commit, I also add _TOPT, but this currently doesn't work because -i option has a different mean in the original pacman, -- I would have to refine the argument parsing step).
What we need to fix right now, is to allow our script to continue to run, instead of generating an error as seen in https://github.com/icy/pacapt/issues/150.
What do you think?
PS: I would have had tests for this apk. I'm also using them a lot ;)
Originally posted by @icy in https://github.com/icy/pacapt/pull/151#discussion_r654171898
Related to #150
Some wrong link, again =)) I would never try that feature again :D