Expand description
§photostax-cli
Command-line tool for inspecting and managing Epson FastFoto photo stacks.
This module provides the core CLI logic as a library, enabling both the CLI binary and unit tests to use the same code.
Structs§
- Cli
- CLI tool for inspecting and managing Epson FastFoto photo stacks
Enums§
- CliRotation
Target - CLI-facing rotation target (maps to core
RotationTarget). - CliScanner
Profile - CLI-facing scanner profile (maps to core
ScannerProfile). - Commands
- Metadata
Command - Output
Format
Constants§
Functions§
- cmd_
export - Export command implementation
- cmd_
info - Info command implementation
- cmd_
metadata_ delete - Metadata delete command
- cmd_
metadata_ read - Metadata read command
- cmd_
metadata_ write - Metadata write command
- cmd_
rotate - Rotate command implementation
- cmd_
scan - Scan command implementation
- cmd_
search - Search command implementation
- escape_
csv - Escape a string for CSV output
- format_
size - Format file size in human-readable format
- output_
info_ csv - Output stack info as CSV
- output_
info_ table - Output stack info as table
- output_
metadata_ csv - Output metadata as CSV
- output_
metadata_ table - Output metadata as table
- output_
stacks - Output stacks in the requested format
- output_
stacks_ csv - Output stacks as CSV
- output_
stacks_ table - Output stacks as table with unicode box-drawing
- parse_
key_ value - Parse KEY=VALUE format for tag filters
- run_cli
- Run the CLI with parsed arguments, writing output to
outand errors toerr. Returns the exit code.