848
849
850
851
852
853
854
855
856
857
858
859
860
|
# File 'lib/greeenboii.rb', line 848
def self.show_options
CLI::UI::Prompt.instructions_color = CLI::UI::Color::GRAY
CLI::UI::Prompt.ask("Choose an option:") do |handler|
handler.option("{{gray:Search Files}}") { |selection| puts "Placeholder, Replaced soon. #{selection}" }
handler.option("{{gray:Search Directory}}") { |selection| puts "Placeholder, Replaced soon. #{selection}" }
handler.option("{{green:Website Builder}}") { |_selection| WebsiteBuilder.build_website }
handler.option("{{yellow:Todo List}}") { |_selection| TodoList.new. }
handler.option("{{cyan:Search Engine}}") { |_selection| Search.perform_search }
handler.option("{{blue:Gist Manager}}") { |_selection| GistManager.new. }
handler.option("{{red:Exit}}") { |_selection| exit }
end
end
|