hermes.commands.clean.base

Module Contents

Classes

HermesCleanSettings

Configuration of the clean command.

HermesCleanCommand

Clean up caches from previous HERMES runs.

class hermes.commands.clean.base.HermesCleanSettings(/, **data: Any)

Bases: pydantic.BaseModel

Configuration of the clean command.

class hermes.commands.clean.base.HermesCleanCommand(parser: argparse.ArgumentParser)

Bases: hermes.commands.base.HermesCommand

Clean up caches from previous HERMES runs.

command_name = 'clean'
settings_class
__call__(args: argparse.Namespace) None

Execute the HERMES sub-command.

Parameters:

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