use std::sync::Arc;

use cli_renderer::RenderCommand;
use crate::executor::ExecutorCommand;

#[derive(Debug, Clone)]
pub enum WatcherCommand {
  Render(RenderCommand),
  SetMode(WatcherMode),
}

#[derive(Debug, Clone)]
pub enum WatcherMode {
  Input,
  Select{
    content: Arc<Vec<String>>,
    title: String,
    callback: Box<ExecutorCommand>,
    index: usize,
  },
}
