docs: def cli(env, label, in_file, key, note):
      """Add a new SSH key."""
  
      if in_file is None and key is None:
          raise exceptions.ArgumentError(
              'Either [-f | --in-file] or [-k | --key] arguments are required to add a key'
          )
  
      if in_file and key:
          raise exceptions.ArgumentError(
              '[-f | --in-file] is not allowed with [-k | --key]'
          )
  
      if key:
          key_text = key
      else:
          key_file = open(path.expanduser(in_file), 'rU')
          key_text = key_file.read().strip()
          key_file.close()
  
      mgr = SoftLayer.SshKeyManager(env.client)
      result = mgr.add_key(key_text, label, note)
  
      env.fout("SSH key added: %s" % result.get('fingerprint'))