Skip to main content

Crate photostax_cli

Crate photostax_cli 

Source
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§

CliRotationTarget
CLI-facing rotation target (maps to core RotationTarget).
CliScannerProfile
CLI-facing scanner profile (maps to core ScannerProfile).
Commands
MetadataCommand
OutputFormat

Constants§

EXIT_ERROR
EXIT_NOT_FOUND
EXIT_SUCCESS

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 out and errors to err. Returns the exit code.