Random strings generater based on a pattern
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/gocha
dist
.gitignore
.perl-version
.travis.yml
README.md
build.pl
gocha.go
gocha_test.go

README.md

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