💡 使用示例
$ scorpiox-otp -s JBSWY3DPEHPK3PXP
492039
$ scorpiox-otp -s JBSWY3DPEHPK3PXP -a sha256
781204
$ scorpiox-otp -s GEZDGNBVGY3TQOJQ -a sha512
350618
$ scorpiox-otp -s JBSWY3DPEHPK3PXP -j
{"code":"492039","algorithm":"sha1","period":30,"remaining":17}
$ scorpiox-otp -s JBSWY3DPEHPK3PXP -a sha256 -j
{"code":"781204","algorithm":"sha256","period":30,"remaining":12}
$ OTP=$(scorpiox-otp -s "$MY_SECRET")
$ curl -X POST https://api.example.com/verify -d "token=$OTP"
$ scorpiox-otp -s JBSWY3DPEHPK3PXP | pbcopy
$ scorpiox-otp -s JBSWY3DPEHPK3PXP | xclip -selection clipboard
$ scorpiox-otp --help