Add TUI stub

This commit is contained in:
2024-04-23 00:36:06 +02:00
parent ccf1b78ce8
commit 2f039c0b1d
4 changed files with 163 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ use clap::Parser;
mod cli;
mod core;
#[cfg(feature = "tui")]
mod tui;
#[derive(Parser)]
struct Args {
#[command(subcommand)]
@@ -13,6 +16,10 @@ struct Args {
#[command(flatten)]
config_overrides: core::config::ConfigOverrideArgs,
#[cfg(feature = "tui")]
#[arg(short, long, alias = "tui", global = true)]
interactive: bool,
}
/// Database administration tool designed for non-admin users to manage their own MySQL databases and users.

0
src/tui.rs Normal file
View File