2026-02-16 12:31:26 +08:00
|
|
|
# Documentation Status
|
2026-06-01 15:32:03 +08:00
|
|
|
- Updated to current CLI options on 2026-06-01. Default artifact paths are under `artifacts/`.
|
2026-02-16 12:31:26 +08:00
|
|
|
|
2026-02-13 12:01:10 +08:00
|
|
|
# VLM CLI Reference
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
- `vlm config init`: Create default config.
|
|
|
|
|
- `vlm config show`: Display current settings.
|
|
|
|
|
- `vlm config validate`: Check config for errors.
|
|
|
|
|
|
|
|
|
|
## Core Commands
|
|
|
|
|
- `vlm scan [--output PATH]`: Discover video files.
|
|
|
|
|
- `vlm parse [--input CSV] [--output JSON] [--inventory CSV]`: Parse filenames.
|
|
|
|
|
- `vlm enrich [--input JSON] [--output JSON] [--refresh-all]`: Fetch TMDB metadata.
|
|
|
|
|
- `vlm analyze [--input JSON] [--output JSON]`: Find gaps and duplicates.
|
|
|
|
|
- `vlm plan [--input JSON] [--analysis JSON] [--output JSON]`: Generate operations.
|
2026-06-01 15:32:03 +08:00
|
|
|
- `vlm review-plan [--input JSON] [--output CSV] [--tui]`: Export manual review CSV (optional Textual UI).
|
|
|
|
|
- `vlm apply-review [--plan JSON] [--csv PATH]`: Sync edited review CSV into plan.
|
2026-02-16 12:31:26 +08:00
|
|
|
- `vlm execute [--plan JSON] [--confirm] [--yes] [--verbose-ops] [--safe-mode] [--preserve-directories]`: Move/Rename/Quarantine operations with safety guards.
|
2026-02-13 12:01:10 +08:00
|
|
|
- `vlm rollback [--log PATH]`: Undo operations.
|
|
|
|
|
|
|
|
|
|
## Management & Reporting
|
|
|
|
|
- `vlm quarantine list|add|restore`: Manage the `.quarantine` directory.
|
|
|
|
|
- `vlm report inventory|completeness|duplicates|summary`: Generate human-readable reports.
|
|
|
|
|
- `vlm state show|set|query|clear`: Track manual review status for files.
|
|
|
|
|
|
|
|
|
|
## Important Config Options (`~/.vlm/config.yaml`)
|
|
|
|
|
- `library_root`: Path to the video collection.
|
|
|
|
|
- `templates`: Naming patterns for movies and series.
|
2026-02-16 12:31:26 +08:00
|
|
|
- `plan.duplicate_keep`: Strategy for duplicates (`by_quality`, `by_reputation`, `by_reputation_quality_time`, `first_seen`, `manual`).
|
2026-02-13 12:01:10 +08:00
|
|
|
- `enrichment.api_keys`: TMDB and OpenAI keys.
|