//! Auth command handlers
//!
//! Thin wrappers around the shared login/logout/whoami orchestration in `mecha10_auth::commands`.
use crate;
use Result;
const BINARY_NAME: &str = "mecha10";
/// Handle the login command
///
/// Runs the device code authentication flow:
/// 1. Request device code from auth server
/// 2. Display user code and verification URL
/// 3. Open browser to verification URL
/// 4. Poll until user completes auth or code expires
/// 5. Save credentials on success
pub async
/// Handle the logout command
///
/// Removes stored credentials from ~/.mecha10/credentials.json
pub async
/// Handle the whoami command
///
/// Displays current authentication status and user info
pub async