diff --git a/src/banner.txt b/src/banner.txt index 77799cc..6e556e1 100644 --- a/src/banner.txt +++ b/src/banner.txt @@ -4,4 +4,6 @@ █ ▗▄▖▝▚▄▟▌ ▀ ▐▌ ▐▌ ▝▀▜▌ - ▐▙▄▞▘ \ No newline at end of file + ▐▙▄▞▘ + +Project-scoped PostgreSQL instance manager diff --git a/src/cli.rs b/src/cli.rs index 50b277d..59ed471 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -8,7 +8,7 @@ const STYLES: styling::Styles = styling::Styles::styled() #[derive(Parser)] #[command(name = "pgd")] -#[command(about = "Project-scoped PostgreSQL instance manager", long_about = None)] +#[command(about = "Project-scoped PostgreSQL instance manager", long_about = include_str!("./banner.txt"))] #[command(version)] #[command(styles = STYLES)] pub struct Cli { diff --git a/src/main.rs b/src/main.rs index 10b048c..059e586 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,8 +18,6 @@ use crate::{ #[tokio::main] async fn main() -> Result<()> { - println!("{}", include_str!("./banner.txt")); - let cli = Cli::parse(); init_tracing(cli.verbose);