DEV Community

Shinya Sakae
Shinya Sakae

Posted on

Introduce CLI ID generator

I present an ID generator I developed.

  • Command line interface
  • Support UUID and ULID
  • Implemented in Go

https://github.com/ss49919201/idgen

idgen

The software is named idgen.
It is an abbreviation for id generator.

Install

Install using go install.
Other installation methods will be added.

$ go install github.com/ss49919201/idgen@latest
Enter fullscreen mode Exit fullscreen mode

Usage

It has a very simple interface.
Enter id type after idgen.

UUID

$ idgen uuid
Enter fullscreen mode Exit fullscreen mode

ULID

$ idgen ulid
Enter fullscreen mode Exit fullscreen mode

Future development

I will keep improving idgen.

For example:

  • Support installation of Homebrew
  • Generate multiple id

I welcome your contributions.
Thank you.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more