Method: Ckancli::Command#exec_exist?

Defined in:
lib/ckancli/command.rb

#exec_exist?(*args) ⇒ Boolean

Check if executable exists

Returns:

  • (Boolean)

See Also:


116
117
118
119
# File 'lib/ckancli/command.rb', line 116

def exec_exist?(*args)
  require 'tty-which'
  TTY::Which.exist?(*args)
end