View Source mix cpf.gen (CPF v1.2.0)
Generates a valid random CPF.
options
Options
--format, formats the CPF with the specified format:standard(default), formats the CPF using dots and slashes.digits, only display the CPF digitsinteger, returns the CPF as integer number
--count, generatescounttimes random CPFs
examples
Examples
> mix cpf.gen
194.925.115-25
> mix cpf.gen --format=digits
19492511525
> mix cpf.gen --format=integer
4485847608
> mix cpf.gen --format=digits --count=2
19492511525
65313188640