ULID-BUILD(1)

πŸ“¦ version 3.2.1, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– ULID-BUILD(1) πŸ’–

okay so bestie, this is ulid-build β€” it lives in the User Commands section of the manual, and it does exactly one thing and does it gorgeously: it generates ULIDs from a bunch of different sources. like, whatever weird format you've got lying around, this thing will turn it into a ULID. periodt. ✨


✨ SYNOPSIS ✨

ulid build [-h] [--from-int int] [--from-hex str] [--from-str str]
[--from-timestamp str|float] [--from-datetime iso8601]
[--from-uuid uuid]

ok so it's ulid build plus a whole lil menu of --from-* flags, and you pick the one that matches whatever cursed thing you're holding. no cap. πŸŽ€


🌸 OPTIONS 🌸

πŸ¦‹ OPTIONAL ARGUMENTS πŸ¦‹

  • -h, --help β€” shows you a help message and then dips. the classic. the icon. πŸ‘‘
  • --from-int int β€” makes a ULID out of an integer. give it a whole number, get a ULID. simple as that fr fr.
  • --from-hex str β€” makes one from a hex value that has to be exactly 32 characters. so count them, bestie, don't just vibe-check it. πŸ’…
  • --from-str str β€” makes one from a base32 encoded string, and it's gotta be length 26. yes, 26. not 25, not 27. 🎯
  • --from-timestamp int|float β€” makes one from a timestamp. it takes either a float in secs or an int as millis β€” so pick your unit wisely or you'll get a timestamp from a completely different century. 😭
  • --from-datetime iso8601 β€” makes one from a datetime. and the way it works? the timestamp part of the ULID gets taken straight from the datetime. cute, right? 🫢
  • --from-uuid uuid β€” makes one from a UUID you hand it. heads up tho: the timestamp part will be random. so like, the time portion isn't telling you anything real. it's giving mystery. πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€


and that's the whole page, bestie. no filler, all ULID. πŸ“

this manual page came from the User Commands corner of the world and it's stamped February 2024 β€” so if you're reading this in the future, hi, ily, the ULIDs still slay. πŸ’œβœ¨πŸŒˆ