t-mrt / gocha

Random strings generater based on a pattern

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gocha Build Status

NAME

gocha - Generate random strings based on a pattern

DESCRIPTION

gocha makes it trivial to generate random strings.

$ gocha -n 5 "(:shimobayash2?:){5}"
:shimobayash::shimobayash2::shimobayash2::shimobayash::shimobayash2:
:shimobayash2::shimobayash2::shimobayash::shimobayash::shimobayash2:
:shimobayash2::shimobayash::shimobayash::shimobayash2::shimobayash:
:shimobayash2::shimobayash::shimobayash::shimobayash::shimobayash2:
:shimobayash::shimobayash2::shimobayash::shimobayash2::shimobayash2:

You can use the same regular expression as regexp/syntax.

SYNOPSIS

usage: gocha [<flags>] <pattern>

Flags:
      --help  Show context-sensitive help (also try --help-long and --help-man).
  -n, --number-of-lines=NUMBER-OF-LINES
              Number of lines

Args:
  <pattern>  Regular expression

INSTALLATION

go get github.com/t-mrt/gocha/cmd/gocha

AUTHOR

t_ t.us.mrt@gmail.com

About

Random strings generater based on a pattern


Languages

Language:Go 84.4%Language:Perl 15.6%