def run
      distro = name_args[0]
      type = name_args[1]
      ami_list = list_amis(distro)[type] || list_amis(distro)
      output(format_for_display(ami_list))
    end
def run
      distro = name_args[0]
      type = name_args[1]
      ami_list = list_amis(distro)[type] || list_amis(distro)
      output(format_for_display(ami_list))
    end
Runs the plugin. If TYPE (name_args[1]) is passed, then select a
 specified type, based on #build_type, above.