CPF v0.8.0 mix cpf.gen View Source
Generates a valid random CPF.
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
$ 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
Link to this section Summary
Link to this section Functions
Link to this function
count(n) View Source
Link to this function
format(opt) View Source
Link to this function