religion

fakernaija.commands.religion(*args: t.Any, **kwargs: t.Any) t.Any

Returns random religions.

Parameters:
  • repeat (int) – The number of random religions to return. Must be a positive integer. Defaults to 1.

  • output (str) – The format of the output file if provided.

Note

  • Output options: csv, json, text

Examples

To return a single random religion:

$ naija religion
Muslim

To return 3 random religions:

$ naija religion --repeat 3
Traditionalist
Judaist
Christian

To return 30 random religions and save them to a specified format:

$ naija religion --repeat 30 --output json
Generated data saved to /path/to/directory/filename.ext