forked from Mirror/pmbootstrap
WIP: 2024-06-05: args hacking and more (MR 2252)
Continue removing args and do some other optimisations. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
5bb2390d98
commit
de4c912692
52 changed files with 498 additions and 464 deletions
|
@ -594,11 +594,8 @@ def arguments_ci(subparser):
|
|||
|
||||
|
||||
def package_completer(prefix, action, parser=None, parsed_args=None):
|
||||
args = parsed_args
|
||||
pmb.config.merge_with_args(args)
|
||||
pmb.helpers.args.replace_placeholders(args)
|
||||
packages = set(
|
||||
package for package in pmb.helpers.pmaports.get_list(args)
|
||||
package for package in pmb.helpers.pmaports.get_list()
|
||||
if package.startswith(prefix))
|
||||
return packages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue