module Gitlab::Help

def ri_cmd

Returns:
  • (String) -
def ri_cmd
  which_ri = `which ri`.chomp
  raise "'ri' tool not found in $PATH. Please install it to use the help." if which_ri.empty?
  which_ri
end