from talon import app, Context, Module

mod = Module()

# 1password
mod.apps.one_password = "app.bundle: com.agilebits.onepassword7"
mod.apps.one_password = "app.name: 1Password for Windows desktop"
mod.apps.one_password = "app.name: 1Password.exe"


@mod.action_class
class Actions:
    def password_fill():
        """fill the password"""

    def password_show():
        """show the password"""

    def password_new():
        """New password"""

    def password_duplicate():
        """Duplicate password"""

    def password_edit():
        """Edit password"""

    def password_delete():
        """Delete password"""

    def username_copy():
        """Copy username"""

    def password_copy():
        """Copy password"""

    def otp_copy():
        """Copy OTP code"""
