tweak cli

This commit is contained in:
mbecker20
2025-08-05 04:03:38 -04:00
parent 3720c92908
commit fa5ac54243
2 changed files with 5 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ pub async fn backup() -> anyhow::Result<()> {
println!("");
println!(
"🦎 {} Database {} Utility 🦎",
"🦎 {} Database {} Utility 🦎",
"Komodo".bold(),
"Backup".green().bold()
);
@@ -30,7 +30,7 @@ pub async fn restore() -> anyhow::Result<()> {
println!("");
println!(
"🦎 {} Database {} Utility 🦎",
"🦎 {} Database {} Utility 🦎",
"Komodo".bold(),
"Restore".red().bold()
);
@@ -62,7 +62,7 @@ pub async fn copy() -> anyhow::Result<()> {
println!("");
println!(
"🦎 {} Database {} Utility 🦎",
"🦎 {} Database {} Utility 🦎",
"Komodo".bold(),
"Copy".blue().bold()
);

View File

@@ -55,6 +55,7 @@ pub struct CliArgs {
#[derive(Debug, Clone, Subcommand)]
pub enum Command {
/// Run Komodo executions
#[clap(alias = "x")]
Execute {
#[command(subcommand)]
execution: Execution,
@@ -71,6 +72,7 @@ pub enum Command {
},
/// Database utilities
#[clap(alias = "db")]
Database {
#[command(subcommand)]
command: DatabaseCommand,