quran-cli

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

README

quran-cli Go Reference Go Report Card

Read the Holy Quran from your terminal.

Installation

$ go install github.com/vanillaiice/quran-cli@latest

Demo

https://github.com/vanillaiice/quran-cli/assets/120596571/b2a9ab2c-cd67-44d7-b2aa-29aa8f4c2202

Example Usage

# read the first surah of the Quran in english with arabic text
$ quran-cli read

# read a random surah in english
$ quran-cli read --random

# read surah #55 in french translation only
$ quran-cli read --language fr --number 55 --mode tr

# initialize data for chinese
$ quran-cli init -l zh

# read surah Al-Mulk in chinese
$ quran-cli read -l zh -s mulk

if data for a language is not initialized, it can be initialized automatically by answering to the shown prompt.

By default, the data is stored in the $HOME/.quran-cli directory.

Help

NAME:
   quran-cli - Read the Holy Quran from your terminal

USAGE:
   quran-cli [global options] command [command options]

VERSION:
   0.1.0

AUTHOR:
   vanillaiice <[email protected]>

COMMANDS:
   init, i  initialize data for a language
   read, r  read a surah
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --log-level value, -g value  set log level (default: "info")
   --help, -h                   show help
   --version, -v                print the version

License

This project is licensed under the GPLv3 License.

Author

vanillaiice

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
gen
md
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳