rust-petname icon indicating copy to clipboard operation
rust-petname copied to clipboard

Template strings

Open allenap opened this issue 3 years ago • 1 comments

Ideas:

  • petname %j-%v-%n would yield "$adjective-$adverb-$noun", e.g. "fully-select-airedale" (same as petname -w3).
  • petname 'My %J %N would yield "My $Adjective $Noun", e.g. "My Keen Toucan" (literal text & capitalisation).
  • ...

allenap avatar May 01 '21 09:05 allenap

Could use Rust-style format strings with runtime-fmt for example. Says it requires nightly but the newest version is more than 2 years old at the time of writing so it might work on stable by now.

allenap avatar Apr 30 '22 13:04 allenap