//! Task display command handler for `ralph task show` subcommand.
//!
//! Responsibilities:
//! - Handle `show` and `details` commands.
//! - Display task information from queue or done archive.
//!
//! Not handled here:
//! - Task building or editing (see `build.rs`, `edit.rs`).
//! - Queue listing or searching (see `cli/queue/show.rs`, `cli/queue/list.rs`).
//!
//! Invariants/assumptions:
//! - Task is searched in both queue and done archive.
//! - Output format can be JSON or compact.
use Result;
use crateshow_task;
use crateTaskShowArgs;
use crateconfig;
/// Handle the `show` command.