caretta-id-cli 0.12.1

Reference tool to generate/encode/decode caretta-id
caretta-id-cli-0.12.1 is not a library.

caretta-id-cli

Reference tool to generate/encode/decode caretta-id.

Installation

cargo install caretta-id-cli

Usage

Reference tool to generate/encode/decode caretta-id

Usage: caretta-id-cli <COMMAND>

Commands:
  decode     Decode caretta-id string to integer
  encode     Encode integer to caretta-id string
  generate   (deprecated) Generate random caretta-id
  timestamp  Generate time-based caretta-id
  random     Generate random caretta-id
  help       Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Generate new CarettaIdS

$ caretta-id-cli random 
123abcd

Generate time-based CarettaId

$ caretta=id-cli timestamp --unix
gdw0982

Encode CarettaIdD

$ caretta-id-cli encode 0
0000000

Decode CarettaIdQ

$ caretta-id-cli decode 0000000
0

License

Licensed under either of:

at your option.