module CliHelpers
Public Class Methods
confirm(text)
click to toggle source
# File lib/verto/utils/cli_helpers.rb, line 5 def confirm(text) shell_basic.yes?("#{text} (y/n)") end
Private Class Methods
shell_basic()
click to toggle source
# File lib/verto/utils/cli_helpers.rb, line 11 def shell_basic @shell_basic ||= Thor::Shell::Basic.new end