code: func (cmd *login) Logout(ctx context.Context) error {
  	if cmd.long || cmd.clone || cmd.issue {
  		return nil
  	}
  	return cmd.ClientFlag.Logout(ctx)
  }
docs: // Logout is called by cli.Run()
  // We override ClientFlag's Logout impl to avoid ending a session when -persist-session=false,
  // otherwise Logout would invalidate the cookie and/or ticket.