code: def password_option(*param_decls, **attrs):
      
      def decorator(f):
          attrs.setdefault('prompt', True)
          attrs.setdefault('confirmation_prompt', True)
          attrs.setdefault('hide_input', True)
          return option(*(param_decls or ('--password',)), **attrs)(f)
      return decorator
docs: Shortcut for password prompts.
  
      This is equivalent to decorating a function with :func:`option` with
      the following parameters::
  
          @click.command()
          @click.option('--password', prompt=True, confirmation_prompt=True,
                        hide_input=True)
          def changeadmin(password):
              pass