cuid-cli
v1.4.2
Published
cli to generate cuid's
Downloads
69
Readme
cuid CLI
this is a cli wrapper for Eric Elliot's cuid script
Install
npx cuid-cli
npx cuid-cli 5
or
yarn global add cuid-cli
or
npm -g install cuid-cli
Usage
cuid --help
Usage: cuid [times] [options]
Options:
--version, -V Show version number [boolean]
-t, --times Specify number of ids
-c, --clear Clear console before output [boolean]
-s, --slug cuid().slug [boolean]
-h, --help Show help [boolean]
Examples:
cuid prints 1 id
cuid 5 prints 5 ids
cuid 5 -s prints 5 short id
cuid -s 5 same as above (5 short id)
cuid -cst 10 clears the terminal & prints 10 short ids
cuid -cs 10 same as above
cuid 10 -cs same as above
Get more info about cuids https://usecuid.org
Related
Acknowledgements
Huge thanks to Johannes Schickling for giving me access to this package name so we can merge forces and give you more control on the command line.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!