nexusLIMS.cli#
CLI commands for NexusLIMS.
Submodules#
Package Contents#
Functions#
Context manager that catches config |
API#
- nexusLIMS.cli.handle_config_error() Iterator[None][source]#
Context manager that catches config
ValidationErrorand exits cleanly.Instead of dumping a raw Pydantic traceback, this prints a short, actionable message directing the user to
nexuslims config editand the online documentation.Usage#
::
with handle_config_error(): from nexusLIMS.config import settings settings.NX_DATA_PATH # may raise ValidationError