code: func matchesCommand(cmd *Command, want string) bool {
  	if cmd.Alias != "" && cmd.Alias == want {
  		return true
  	}
  
  	return cmd.Name() == want
  }
docs: // matchesCommand checks if the Command matches the command that we want to run.