def download_all(self, layers, force=False):
layer_dirs = []<EOL>for layer in layers:<EOL><INDENT>layer_dirs.append(self.download(layer, force))<EOL><DEDENT>return layer_dirs<EOL>
Download a list of layers to the cache

Parameters
----------
layers list(samcli.commands.local.lib.provider.Layer)
    List of Layers representing the layer to be downloaded
force bool
    True to download the layer even if it exists already on the system

Returns
-------
List(Path)
    List of Paths to where the layer was cached