2 The B{0install list} command-line interface.
5 # Copyright (C) 2011, Thomas Leonard
6 # See the README file for details, or visit http://0install.net.
8 from zeroinstall
.cmd
import UsageError
12 def add_options(parser
):
15 def handle(config
, options
, args
):
17 matches
= config
.iface_cache
.list_all_interfaces()
19 match
= args
[0].lower()
20 matches
= [i
for i
in config
.iface_cache
.list_all_interfaces() if match
in i
.lower()]