Expand description
Command-line interface for rusty-sponge.
The parsed Cli struct is consumed by lib.rs::run(). Mode resolution
happens after parse (see crate::mode::resolve) so the precedence
ladder can consider the CLI flag, the env var, and argv[0] together.
Structs§
Enums§
Functions§
- strict_
flag - Resolve the explicit
--strict/--no-strictflag value the user supplied. Returns: - validate_
target - Pre-write validation: fail fast (before reading any stdin) if the target is an existing directory. Per FR-014 + HINT-002, this MUST run before any expensive IO.