Index
CLI command package for interacting with the Merlin database.
This package defines and implements the database command group in the Merlin CLI,
enabling users to inspect, retrieve, and modify entities in the Merlin database,
including studies, runs, logical workers, and physical workers.
The modules within this package work together to provide a dynamic, extensible interface that adapts to the available entity types and supports filtering, bulk operations, and safe inspection mechanisms.
Modules:
| Name | Description |
|---|---|
database |
Entry point for the |
get |
Defines the |
delete |
Defines the |
info |
Defines the |
entity_registry |
Maintains a central registry of supported entity types and their CLI metadata, enabling dynamic argument generation and command dispatching. |
This package is designed for extensibility. Adding support for a new entity type generally requires only registering
it in the ENTITY_REGISTRY, with no changes needed to the subcommand logic (unless adding specific arguments to get
or delete logic).