zfish 0.1.10

Ultra-light, zero-dependency Rust CLI framework for building beautiful command-line applications
use std::thread;
use std::time::Duration;
use zfish::{
    log::Logger,
    progress::ProgressBar,
    // Remove unused import: args::Args
    style::{Color, Style},
};

#[test]
#[ignore]
fn test_combined_functionality() {
    // Create a logger
    let logger = Logger::new();
    logger.info("Starting integration test");

    // Show a styled message
    println!(
        "{}",
        Color::Green
            .paint("Running integration test...")
            .style(Style::Bold)
    );

    // Run a progress bar
    let mut pb = ProgressBar::new(10);
    for i in 0..=10 {
        pb.set(i);
        thread::sleep(Duration::from_millis(100));
    }
    pb.finish(&format!("{}", Color::Green.paint("Progress complete!")));

    logger.info("Integration test completed");

    // Test passes if we reach here without panicking
}