mirror of
https://github.com/supleed2/omg-rs.git
synced 2024-12-22 05:35:52 +00:00
Update help text with prami
Prami logo source: https://sarajoy.dev/blog/short/2023-01-18-ascii-art-heart/
This commit is contained in:
parent
6de70fbaca
commit
d0345f0381
|
@ -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
|
||||
|
||||
|
|
|
@ -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<String>,
|
||||
/// Categories of commands to interact with the omg.lol API
|
||||
#[clap(subcommand)]
|
||||
pub command: Option<Commands>,
|
||||
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,
|
||||
|
|
9
src/prami_sjw.txt
Normal file
9
src/prami_sjw.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
____ ____
|
||||
,-"" "-.-" ""-,
|
||||
/ __ . . . . __ \
|
||||
| ( ) '--' '--' ( ) |
|
||||
\ "" , , "" /
|
||||
", "---" ,"
|
||||
", ,"
|
||||
"-, ,-"
|
||||
sjw "-,_,-"
|
Loading…
Reference in a new issue