For people storing One-Time Passwords in 1Password, you can access them in the terminal too:
op item get <item_name> --otp
To copy to clipboard just use pbcopy or xclip: op item get <item_name> --otp | pbcopy # MacOS
op item get <item_name> --otp | xclip -sel c # Linux