Fully add a lua api #11

Merged
antifallobst merged 19 commits from commands into master 2023-07-21 18:57:04 +00:00
3 changed files with 11 additions and 5 deletions
Showing only changes of commit fbd1672d03 - Show all commits

View File

@ -1,7 +1,6 @@
// FIXME: This file needs documentation with examples of how the proc macros work.
// for now use `cargo expand app::command_interface` for an overview
use lua_macros::{ci_command, turn_struct_to_ci_commands};
use rlua::Context;
use super::events::event_types::Event;

View File

@ -1,4 +1,11 @@
pub mod command;
pub mod main;
pub mod matrix;
// input events
pub mod setup;
pub mod main;
// matrix
pub mod matrix;
// ci
pub mod ci_output;
pub mod command;
pub mod lua_command;

View File

@ -1,5 +1,5 @@
use anyhow::{Error, Result};
use cli_log::{warn, info};
use cli_log::warn;
use indexmap::IndexMap;
use matrix_sdk::{
room::MessagesOptions,