Skip to content

gabrieldebem/faker

Repository files navigation

Faker CLI

This is a CLI to generate faker data.

Download the binary here

Also, you can build this using go build or make selfbuild.

You will need xclip installed to use the clipboard functionality. You can run sudo apt install xclip on linux or brew install xclip on MacOS.

Then you can use it like this:

Generate Fake CPF

faker cpf {--mask}

Generate Fake CNPJ

faker cnpj {--mask}

In case you want this document with mask ###.###.###-## or ##.###.###/####-## You can pass the flag --mask.