//! # FlexiArgs
//!
//! A flexible, rule-based command dispatcher and argument parser.
//! This module provides traits and logic to map command-line arguments
//! to application actions with support for strict level validation.
use Error;
/// Trait for types that can be converted into a standard action result.
///
/// This enables `Arg::action` to accept closures that return either `()`
/// or `Result<(), Box<dyn Error>>`, providing flexibility in how
/// actions are implemented.