fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import argparse
|
||||
import importlib
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('mod')
|
||||
args = parser.parse_args()
|
||||
|
||||
mod = importlib.import_module(args.mod)
|
||||
|
||||
assert mod.func() == 'Hello, World!'
|
||||
Reference in New Issue
Block a user