Removed unnecessary steps in getting command attributes (#655)
Removed unnecessary steps in getting command attributes (#655)

No need to get a list of attributes with type CommandAttribute as any method will only have 1 command attribute per method. Also using generic version of method is more readable.
ericmbernier/Nez,prime31/Nez,prime31/Nez,prime31/Nez