The "test-random-password" command:
Generate a random password string of approximately N characters in length. If N is omitted, use 12. Values of N less than 8 are changed to 8 and greater than 57 and changed to 57.
If the --entropy flag is included, the number of bits of entropy in the password is show as well.