forked from github-starred/komodo
tweak cli
This commit is contained in:
@@ -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()
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user