:tocdepth: 3 :py:mod:`gws.gis.cache.cli` =========================== .. py:module:: gws.gis.cache.cli .. autoapi-nested-parse:: Command-line cache commands. **Source code:** :source:`gws.gis.cache.cli` Module Contents --------------- .. py:class:: DropParams(*args, **kwargs) Bases: :py:obj:`gws.CliParams` CLI params .. py:attribute:: layer :type: Optional[list[str]] list of layer IDs .. py:class:: Object Bases: :py:obj:`gws.Node` Configurable GWS object. .. py:method:: do_cleanup(p: gws.CliParams) Remove stale cache dirs. .. py:method:: do_drop(p: DropParams) Remove active cache dirs. .. py:method:: do_seed(p: SeedParams) Seed cache for layers. .. py:method:: do_status(p: StatusParams) Display the cache status. .. py:class:: SeedParams(*args, **kwargs) Bases: :py:obj:`gws.CliParams` CLI params .. py:attribute:: layer :type: list[str] list of layer IDs .. py:attribute:: levels :type: list[int] zoom levels to build the cache for .. py:class:: StatusParams(*args, **kwargs) Bases: :py:obj:`gws.CliParams` CLI params .. py:attribute:: layer :type: Optional[list[str]] list of layer IDs