feat: move core to tui and begin grpc work
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-05-11 23:23:00 +02:00
parent 86cba91b16
commit 4a0fcd1bbb
25 changed files with 309 additions and 112 deletions

View File

@@ -5,7 +5,7 @@ use ratatui::{
};
use crate::{
command_parser::CommandParser, commands::IntoCommand,
command_parser::CommandParser, commander, commands::IntoCommand,
components::graph_explorer::GraphExplorer, state::SharedState, Msg,
};
@@ -26,7 +26,7 @@ pub enum Dialog {
}
impl Dialog {
pub fn get_command(&self) -> Option<hyperlog_core::commander::Command> {
pub fn get_command(&self) -> Option<commander::Command> {
match self {
Dialog::CreateItem { state } => state.get_command(),
Dialog::EditItem { state } => state.get_command(),