https://github.com/shellshape/idgen
A simple CLI to generate various UIDs in the terminal.
https://github.com/shellshape/idgen
cli guid rust snowflake terminal tool xid
Last synced: 9 months ago
JSON representation
A simple CLI to generate various UIDs in the terminal.
- Host: GitHub
- URL: https://github.com/shellshape/idgen
- Owner: shellshape
- License: mit
- Created: 2022-10-27T21:29:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-25T08:14:59.000Z (11 months ago)
- Last Synced: 2025-05-04T00:36:10.666Z (9 months ago)
- Topics: cli, guid, rust, snowflake, terminal, tool, xid
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idgen
A simple CLI to generate various UID formats in the terminal.
Currently, the following UID formats are supported:
- [xid](https://github.com/rs/xid)
- [uuid](http://guid.one/guid)
- [snowflake](https://en.wikipedia.org/wiki/Snowflake_ID)
## Usage
```
$ idgen -h
A simple CLI to generate various UIDs in console.
Usage: idgen [OPTIONS]
Commands:
xid Generate XIDs (see https://github.com/rs/xid)
uuid Generate UUIDs (aka. GUIDs)
snowflake Generate Snowflake
help Print this message or the help of the given subcommand(s)
Options:
-n, --number Set to larger than 1 to generate a list of UIDs [default: 1]
-h, --help Print help information
-V, --version Print version information
```