Set of administration tools for 42l's infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
727 B

extern crate serde_derive;
extern crate diesel;
extern crate lazy_static;
extern crate base64;
extern crate crossterm;
mod globals;
mod helper_structs;
mod term;
mod texts;
mod tools;
mod man_emailacc;
mod man_emaildom;
mod man_news;
mod man_users;
mod db_config;
mod db_methods;
mod db_schema;
mod db_structs;
use crate::globals::FastConfig;
use crate::term::*;
use crate::texts::*;
use std::convert::TryInto;
use std::process;
// cmdline args uses
//use std::env;
fn main() {
pub fn main_menu(fast_config: FastConfig) -> usize {
display_menu(&MAIN_MENU_TXT, fast_config)