Skip to content

v0.2.0 - Add assign command

Choose a tag to compare

@rizumita rizumita released this 18 Dec 00:29
· 16 commits to main since this release

What's New

assign command

Added the shirushi assign command to automatically generate and embed unique doc_ids into documents without one.

Features

  • Supports all dimension types (enum, enum_from_doc_type, year, serial, checksum)
  • Transaction-based writes with automatic rollback on failure
  • File-based locking to prevent concurrent execution
  • --dry-run option to preview changes without modifying files
  • --format json option for machine-readable output

Usage

# Preview (no changes)
shirushi assign --dry-run

# Execute
shirushi assign

# JSON output
shirushi assign --format json

Bug Fixes

  • Fixed Windows path compatibility for index file entries

Full Changelog: v0.1.0...v0.2.0