class Shortlook::Command

Public Instance Methods

execute(*) click to toggle source
# File lib/shortlook/command.rb, line 10
def execute(*)
  raise(NotImplementedError, "#{self.class}##{__method__} must be implemented")
end
prompt(**options) click to toggle source
# File lib/shortlook/command.rb, line 14
def prompt(**options)
  require 'tty-prompt'
  TTY::Prompt.new(options)
end