code: def get_name(ctx, param, value):
      # reads from stdin if value was not supplied
      if not value and not click.get_text_stream("stdin").isatty():
          click.get_text_stream("stdin").read().strip()
          return click.get_text_stream("stdin").read().strip()
      else:
          return value
  
file_path: Ciphey/ciphey/ciphey.py
imports: import os
  import warnings
  from typing import Any, Optional, Union
  import click
  from appdirs import AppDirs
  import logging
  from rich.logging import RichHandler
  from rich.console import Console
  from .None import iface
label_desc: Use image node_id 2 for calling a global function with example usage: get_name(ctx, param, value) and returns: click, value