def main(args,parser,subparser):
from sregistry.main import get_client<EOL>cli = get_client(quiet=args.quiet)<EOL>for query in args.query:<EOL><INDENT>if query in ['<STR_LIT>','<STR_LIT:*>']:<EOL><INDENT>query = None<EOL><DEDENT>cli.ls(query=query)<EOL><DEDENT>
the list command corresponds with listing images for an external
       resource. This is different from listing images that are local to the
       database, which should be done with "images"