This commit is contained in:
cyclic
2026-01-13 11:49:44 -06:00
parent 7fd673dd75
commit 8ff80750cb
4 changed files with 23 additions and 2 deletions

View File

@@ -1 +1,20 @@
//This is the system for text configs
use std::fs::File;
use std::io::prelude::*;
use std::path::Path;
pub fn check(fileLocation: str){
let confPath = Path::new(fileLocation);
let confDisplay = confPath.display();
let mut confFile = match File::open(&confPath){
Err(why) =>
}
}
fn createConf(fileLocation: str){
}

View File

@@ -3,13 +3,15 @@ use crossterm::event::{self, Event};
use ratatui::{DefaultTerminal, Frame};
use ratatui::layout::{Constraint, Layout};
use ratatui::widgets::Block;
mod conf;
fn main() -> Result<()> {
fn main() -> Result<()> {
color_eyre::install()?;
let terminal = ratatui::init();
let result = run(terminal);
ratatui::restore();
result
}
fn run(mut terminal: DefaultTerminal) -> Result<()> {

1
src/sectionBuilder.rs Normal file
View File

@@ -0,0 +1 @@
// this will take info from the conf to create each section

View File

@@ -1 +0,0 @@
//This is the section for tailscale