nirs4all.cli.commands.artifacts module

Artifact management CLI commands for nirs4all.

Provides commands for managing binary artifacts stored in workspace/artifacts/: - list-orphaned: Show artifacts not referenced by any manifest - cleanup: Delete orphaned artifacts - stats: Show storage statistics and deduplication info - purge: Delete known-owned unpublished artifacts for a dataset

nirs4all.cli.commands.artifacts.add_artifacts_commands(subparsers)[source]

Add artifact management commands to CLI.

nirs4all.cli.commands.artifacts.artifacts_cleanup(args)[source]

Delete only workspace-wide blobs unreferenced by any dataset or store row.

nirs4all.cli.commands.artifacts.artifacts_list_orphaned(args)[source]

List unreferenced shared artifacts across the entire workspace.

nirs4all.cli.commands.artifacts.artifacts_purge(args)[source]

Purge known-owned unpublished artifacts; preserve every durable reference.

nirs4all.cli.commands.artifacts.artifacts_stats(args)[source]

Show shared workspace storage statistics once, without double-counting datasets.