Run make:
make
./genotp [YOUR SECRET KEY]
Example output:
./genotp GU3TGMZUMRRGE
232470
Store your YOUR SECRET KEY into system:
security add-generic-password -a username -s yoursecret -w
Retrieve the pass and pipe to OTP:
security find-generic-password -s yoursecret -w | xargs genotp