Sha256: 14b8b407ef64d9ca54903c6f1541a5a1968aed99dd7a1e7dd9db16164306be75
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true libexec = File.realpath File.join(__dir__, "..", "libexec", "quran-audio") case ARGV[0] when "pull" Process.spawn File.join(libexec, "pull"), *ARGV[1..] Process.wait when "ls" Process.spawn File.join(libexec, "ls"), *ARGV[1..] Process.wait else warn "Usage: quran-audio [COMMAND] [OPTIONS]\n\n" \ "Commands:\n" \ " pull Pull MP3 files from everyayah.com\n" \ " ls List reciters\n" \ end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quran-audio-0.3.2 | bin/quran-audio |
quran-audio-0.3.1 | bin/quran-audio |