mirror of
https://github.com/niess/python-appimage.git
synced 2025-07-21 21:01:15 +02:00
19 lines
319 B
Python
19 lines
319 B
Python
from ...manylinux import ensure_image
|
|
|
|
|
|
__all__ = ['execute']
|
|
|
|
|
|
def _unpack_args(args):
|
|
'''Unpack command line arguments
|
|
'''
|
|
return (args.tags, args.extract)
|
|
|
|
|
|
def execute(images, extract):
|
|
'''Download image(s) to the cache
|
|
'''
|
|
|
|
for image in images:
|
|
ensure_image(image, extract=extract)
|