Compare commits

..

No commits in common. "dd7adca3d0253e8b02a6ff042b0091fae71844be" and "3b7bc08ff081e91fa52124a0a441c5dbd2e17214" have entirely different histories.

3 changed files with 4 additions and 20 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "pride" name = "pride"
version = "0.1.5" version = "0.1.4"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -62,17 +62,6 @@ pub fn bisexual() -> Colors {
vec![magenta, magenta, purple, blue, blue] vec![magenta, magenta, purple, blue, blue]
} }
pub fn gay() -> Colors {
let green1 = rgb(0x00906D);
let green2 = rgb(0x00D1A7);
let green3 = rgb(0x7EEBC1);
let blue1 = rgb(0x6CAEE8);
let blue2 = rgb(0x5543D3);
let blue3 = rgb(0x461280);
vec![green1, green2, green3, WHITE, blue1, blue2, blue3]
}
pub fn genderfluid() -> Colors { pub fn genderfluid() -> Colors {
let pink = rgb(0xFF75A2); let pink = rgb(0xFF75A2);
let violet = rgb(0xBE18D6); let violet = rgb(0xBE18D6);

View file

@ -38,8 +38,7 @@ fn main() {
let subcommand = args.subcommand().unwrap(); let subcommand = args.subcommand().unwrap();
let colors: Colors = match subcommand.as_deref() { let colors: Colors = match subcommand.as_deref() {
Some("pride") Some("pride" | "gay")
| None
=> { => {
let variant = args.subcommand().unwrap_or(None); let variant = args.subcommand().unwrap_or(None);
match variant.as_deref() { match variant.as_deref() {
@ -71,9 +70,6 @@ fn main() {
Some("bisexual" | "bi") Some("bisexual" | "bi")
=> flag::bisexual(), => flag::bisexual(),
Some("gay" | "mlm")
=> flag::gay(),
Some("genderfluid") Some("genderfluid")
=> flag::genderfluid(), => flag::genderfluid(),
@ -108,7 +104,7 @@ fn help_text() {
println!("Valerie Wolfe <sleeplessval@gmail.com>"); println!("Valerie Wolfe <sleeplessval@gmail.com>");
println!("Show pride flags in the terminal.\n"); println!("Show pride flags in the terminal.\n");
println!("usage: pride [flags] [name]\n"); println!("usage: pride [flags] <name>\n");
println!("args:"); println!("args:");
println!(" <name> The pride flag to display\n"); println!(" <name> The pride flag to display\n");
@ -131,7 +127,7 @@ fn list_text() {
println!(" ace, asexual asexual pride flag"); println!(" ace, asexual asexual pride flag");
println!(" bigender bigender pride flag"); println!(" bigender bigender pride flag");
println!(" bi, bisexual bisexual pride flag"); println!(" bi, bisexual bisexual pride flag");
println!(" gay, mlm gay men pride flag"); println!(" gay, pride six-color rainbow flag");
println!(" genderfluid genderfluid pride flag"); println!(" genderfluid genderfluid pride flag");
println!(" genderqueer genderqueer pride flag"); println!(" genderqueer genderqueer pride flag");
println!(" gendervoid gendervoid pride flag"); println!(" gendervoid gendervoid pride flag");
@ -139,7 +135,6 @@ fn list_text() {
println!(" multigender multigender pride flag"); println!(" multigender multigender pride flag");
println!(" nb, nonbinary nonbinary pride flag"); println!(" nb, nonbinary nonbinary pride flag");
println!(" pan, pansexual pansexual pride flag"); println!(" pan, pansexual pansexual pride flag");
println!(" pride six-color rainbow flag");
// println!(" progress progress arrow flag"); // println!(" progress progress arrow flag");
println!(" trans, transgender transgender pride flag"); println!(" trans, transgender transgender pride flag");
} }