diff --git a/CHANGELOG.md b/CHANGELOG.md index 75b37b1..88b41d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changelog file (this file) and reference in the [readme](README.md) - Automated release with pre-built binaries using GitHub Actions: [release.yaml](.github/workflows/release.yaml) +- Prami logo, taken from [here](https://sarajoy.dev/blog/short/2023-01-18-ascii-art-heart/) with permission ### Changed diff --git a/src/cli.rs b/src/cli.rs index 96026a1..f4bf159 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -2,13 +2,14 @@ use clap::Parser; use omg_api::Commands; #[derive(Parser)] +#[command(name = "omg-rs", version, + long_about = concat!("\x1b[38;5;205m", include_str!("prami_sjw.txt"), + "\n\nA cli client for omg.lol, written in Rust 🦀\x1b[0m"))] +/// A cli client for omg.lol, written in Rust 🦀 pub struct Cli { - /// Set which omg.lol username to use, overrides config and environment variable (OMGLOL_USERNAME) - #[clap(short, long)] - pub name: Option, /// Categories of commands to interact with the omg.lol API #[clap(subcommand)] - pub command: Option, + pub command: Commands, /// Print debug information, repeat for higher levels of debug info (max 1) #[arg(short, long, action = clap::ArgAction::Count)] pub verbose: u8, diff --git a/src/prami_sjw.txt b/src/prami_sjw.txt new file mode 100644 index 0000000..55a7e2e --- /dev/null +++ b/src/prami_sjw.txt @@ -0,0 +1,9 @@ + ____ ____ + ,-"" "-.-" ""-, + / __ . . . . __ \ +| ( ) '--' '--' ( ) | + \ "" , , "" / + ", "---" ," + ", ," + "-, ,-" + sjw "-,_,-" \ No newline at end of file