Gankra / cargo-mommy

Mommy's here to support you when running cargo~
https://faultlore.com/cargo-mommy/
Apache License 2.0
726 stars 49 forks source link

mommy can now change her true nature for you~ #43

Closed Gankra closed 9 months ago

Gankra commented 9 months ago

This adds the ability to say "cargo mommy i mean daddy" ("daddy" here is an arbitrary value), which makes cargo-mommy copy itself to a new binary called cargo-daddy. As a result of how cargo <subcommand> ... works, this makes cargo daddy ... now resolve.

It also changes cargo-mommy to determine it's "true role" from the name of its binary. So in the above case, cargo daddy would detect its "true role" is "daddy". This makes the default role be "daddy" (was "mommy") and it renames all the env-vars we'd query from CARGO_MOMMYS_* to CARGO_DADDYS_*.

Also as a bonus cargo mommy i mean mommy test just runs cargo mommy test

mommy's happy to change her true nature for you~

Gankra commented 9 months ago

fixes #27

strega-nil commented 9 months ago

Also seems odd that the default pronoun for daddy is her, still? I'm gay, so it doesn't reaaaally matter to me, but just a thought.

workingjubilee commented 9 months ago

...honestly I think I've met more daddies (she/her) than I've met daddies (he/him).

strega-nil commented 9 months ago

...honestly I think I've met more daddies (she/her) than I've met daddies (he/him).

I wonder how much this is due to one's own social circle; in my queer circles, certainly, but also I am friends with a lot of straight women who I think would beg to differ (see: Pedro Pascal, for example)

workingjubilee commented 9 months ago

Ah, well, I'm certainly not un-familiar with the other kind. :^) I just, hm, how to say,

I'm going to go with "'Sir' is a very choice honorific."

( Also honestly it's been at least one Mass Hatching Event since I've caught up with most people. So social circle definitely does matter, but partly because that's equally likely to throw off my numbers. )

Gankra commented 9 months ago

You could already change the default role and pronouns (and still can) the "killer app" of this feature is erasing the last vestiges of "mommy" from the interface/config for people who specifically have issues with that term. If you accidentally genderfuck yourself in the process, well, Win-Win.

workingjubilee commented 9 months ago

yeah, it's somewhat hard to speculate about the intended pronouns of

cargo mommy i mean fairy-godparent
Gankra commented 9 months ago

wait lmao fuck i accidentally pushed to main while trying to rebase someone else's PR aasfdsf

46 more accurate than i thought

YOUR REVIEW COMMENTS WERE VALID AND SHOULD HAVE BEEN ADDRESSED

Gankra commented 9 months ago

https://github.com/Gankra/cargo-mommy/pull/47