use crate::cli::OutputFormat;
use crate::commands::{ensure_initialized, INFO_PREFIX};
use crate::error::Result;
use crate::models::{Priority, Status};
use colored::Colorize;
use comfy_table::{ContentArrangement, Table};

pub fn execute(
    epic_id: Option<i64>,
    status: Option<&str>,
    priority: Option<&str>,
    assignee_id: Option<i64>,
    blocked: bool,
    overdue: bool,
    tag: Option<&str>,
    all: bool,
    format: &OutputFormat,
    quiet: bool,
) -> Result<()> {
    // This is just a convenience wrapper around task list
    super::task::list(
        epic_id,
        status,
        priority,
        assignee_id,
        blocked,
        overdue,
        tag,
        all,
        format,
        quiet,
    )
}
