A command-line tool to generate random { cuid, nanoid, uuidv4 } ids.
```
getid
with cargo:
```
```
```sh
getid -- Generate a random { cuid, nanoid, uuidv4 }.
Usage:
getid [--help, --version]
getid
Commands: cuid Generate a random cuid. hostname Generate a random, heroku-like hostname. [alias: heroku] nanoid Generate a random nanoid. [alias: nano] uuidv4 Generate a random uuidv4. [alias: uuid]
Options: -v, --version Show program version. -h, --help Show this help again.
Examples: getid cuid getid hostname getid nanoid getid uuidv4
Type 'getid
```sh
getid cuid -- Generate a random cuid.
Usage: getid cuid [--slug]
Options: --slug Generate a smaller id (7-10 characters) intended for short urls. -h, --help Show this help again.
For more information on the 'cuid' format, see: https://github.com/ericelliott/cuid. ```
```sh
getid hostname -- Generate a random, heroku-like hostname.
Usage:
getid hostname [--token_length
Options:
--token_length
Aliases: getid heroku ```
```sh
getid nanoid -- Generate a random nanoid.
Usage:
getid nanoid [--length
Options:
--length
Aliases: getid nano
For more information on the 'nanoid' format, see: https://zelark.github.io/nano-id-cc/. ```
```sh
getid uuidv4 -- Generate a random uuidv4.
Usage: getid uuidv4 [--urn]
Options: --urn Format the generated id as 'urn'. --simple Format the generated id without hyphens. -h, --help Show this help again.
Aliases: getid uuid
For more information on the 'uuidv4' format, see: https://en.wikipedia.org/wiki/Universallyuniqueidentifier#Version4(random). ```