module Lumise::Commands
Public Instance Methods
command(options)
click to toggle source
# File lib/lumise/commands.rb, line 12 def command(options) TTY::Command.new(options) end
exec_exist?(cmd)
click to toggle source
# File lib/lumise/commands.rb, line 32 def exec_exist?(cmd) TTY::Which.exist?(cmd) end
generator()
click to toggle source
# File lib/lumise/commands.rb, line 16 def generator TTY::File end
logger()
click to toggle source
# File lib/lumise/commands.rb, line 20 def logger TTY::Logger.new end
prompt(**options)
click to toggle source
# File lib/lumise/commands.rb, line 24 def prompt(**options) TTY::Prompt.new(options) end
which(cmd)
click to toggle source
# File lib/lumise/commands.rb, line 28 def which(cmd) TTY::Which.which(cmd) end