All Projects → t-mrt → gocha

t-mrt / gocha

Licence: other
Random strings generater based on a pattern

Programming Languages

go
31211 projects - #10 most used programming language
perl
6916 projects

Projects that are alternatives of or similar to gocha

strgen
A Python module for a template language that generates randomized data
Stars: ✭ 34 (+183.33%)
Mutual labels:  string-generator
grand
Grand is a Go random string generator
Stars: ✭ 12 (+0%)
Mutual labels:  string-generator

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_ [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].