code: def check_version(ctx, param, value):
      
      if ctx.resilient_parsing:
          return
  
      if not value and ctx.invoked_subcommand != 'run':
          ctx.call_on_close(_check_version)
docs: Check for latest version of renku on PyPI.