example implementation of @annotations in main

@olson-sean-k let me know what you think. I'm not particularly happy with `find_matching_command`.