lib/youtube-dl/support.rb
def cocaine_line(command, executable_path = nil)
      executable_path = executable_path_for('youtube-dl') if executable_path.nil?
      Cocaine::CommandLine.new(executable_path, command)
    end
def cocaine_line(command, executable_path = nil)
      executable_path = executable_path_for('youtube-dl') if executable_path.nil?
      Cocaine::CommandLine.new(executable_path, command)
    end
Helper for doing lines of cocaine (initializing, auto executable stuff, etc)

 @param command [String] command switches to run
 @param executable_path [String] executable to run. Defaults to usable youtube-dl.
 @return [Cocaine::CommandLine] initialized Cocaine instance