hermes.commands.clean.base
==========================

.. py:module:: hermes.commands.clean.base


Classes
-------

.. autoapisummary::

   hermes.commands.clean.base._HermesCleanSettings
   hermes.commands.clean.base.HermesCleanCommand


Module Contents
---------------

.. py:class:: _HermesCleanSettings(/, **data: Any)

   Bases: :py:obj:`pydantic.BaseModel`


   Configuration of the ``clean`` command.


.. py:class:: HermesCleanCommand(parser: argparse.ArgumentParser)

   Bases: :py:obj:`hermes.commands.base.HermesCommand`


   Clean up caches from previous HERMES runs.


   .. py:attribute:: command_name
      :value: 'clean'



   .. py:attribute:: settings_class


   .. py:method:: __call__(args: argparse.Namespace) -> None

      Execute the HERMES sub-command.

      :param args: The namespace that was returned by the command line parser when reading the arguments.



   .. py:method:: load_settings(args: argparse.Namespace)

      No settings are needed for the clean command.



