Closed der-fruhling closed 2 months ago
Wow, sorry for the super late reply on this! I guess the notification got lost in my email :facepalm:
Anyway, I like the idea of having an argument to specify the length, but I'd prefer it be a short/long option with dashes, -l
or --length
I think would be good.
Thanks for the reply! I've changed it to be an argument, and had to rework the argument parsing a bit to accept values.
The new syntax is as you described, cuid2 --length 64
/ cuid2 -l 64
.
Thanks for the MR! Merging. Will look into getting a new release out soon
This PR adds an argument to the
cuid2
binary that allows changing the length of the generated ID from it's default.