# File lib/kafo_wizards/highline/wizard.rb, line 41
      def print_menu
        choose do |menu|
          menu.header = ::HighLine.color("\nAvailable actions", :white)
          menu.prompt = 'Your choice: '
          menu.select_by = :index

          sorted_entries.each do |entry|
            menu.choice(render_entry(entry)) do
              begin
                entry.call_pre_hook
                res = render_action(entry)
                entry.call_post_hook
                res
              rescue KafoWizards::ValidationError => e
                say ::HighLine.color("\nValidation error: #{e.message}", :red)
                say "Please, try again... \n\n"
                retry
              rescue Interrupt
                nil
              end
            end
          end
        end
      end