Fully add a lua api #11
|
@ -1,11 +0,0 @@
|
|||
use anyhow::Result;
|
||||
use cli_log::info;
|
||||
|
||||
use crate::app::{events::event_types::EventStatus, App};
|
||||
|
||||
pub async fn handle(app: &mut App<'_>, output: &String) -> Result<EventStatus> {
|
||||
info!("Recieved command output: `{}`", output);
|
||||
app.ui.set_command_output(output);
|
||||
|
||||
Ok(EventStatus::Ok)
|
||||
}
|
Reference in New Issue