//! CLI command handlers.
use FromStr;
/// Parse a CLI value into one of the SDK's generated enums.
///
/// The generated `FromStr` error carries no information, so it is replaced by a
/// message that tells the caller what to type instead. The generated enums
/// expose no variant iterator, hence `accepted` being passed in.
///
/// # Errors
///
/// Returns the list of accepted values when `raw` is not one of them.
pub