quran-go

Read Qur'an right in the terminal.
git clone http://git.hanabi.in/repos/quran-go.git
Log | Files | Refs | README | LICENSE

help.go (2171B)


      1 package print
      2 
      3 import "fmt"
      4 
      5 func Help() {
      6 
      7 	msg := `
      8 QURAN(1)                    General Commands Manual                   QURAN(1)                                       [26/950]
      9 
     10 NAME
     11      quran - fetch various Qur'an translations right in the terminal.
     12 
     13 SYNOPSIS
     14      quran [-delay delay-ms] [-decorate] [-trans trans-id] [command|args]
     15 
     16 DESCRIPTION
     17      quran fetches Qur'an chapter and verse translations right in the
     18      terminal.  quran is not 'bug compatible' with quran.py, as this software
     19      parses input differently.
     20 
     21      The options are as follows:
     22 
     23      -delay delay-ms
     24              Specify delay-ms in milliseconds, the delay between fetching
     25              verses.  I advice using at least 500.  Default is 1000.
     26 
     27      -decorate
     28              Decorate the chapters and verses.
     29 
     30      -trans trans-id
     31              Select which translation to use, for fetching the verses.
     32              Default trans-id is 131, corresponding to Dr. Mustafa Khattab,
     33              the Clear Quran.  Use quran ls-translations to see available
     34              translations.
     35 
     36 COMMANDS
     37      about   Print basic description about quran.
     38 
     39      details
     40              Print basic information about the source of the verses.
     41 
     42      ls-translations
     43              Print available translations, which can be specified with the
     44              -trans flag.
     45 
     46      version
     47              Print current version of quran.
     48 
     49 ARGUMENTS
     50      Without specifying any commands, argument is of the type
     51      <chapter:[verse1[-verse2]]>.
     52 
     53 LICENSE
     54      This software is licensed under the GNU Affero General Public License v3.
     55      Please see <https://www.gnu.org/licenses/agpl-3.0/txt> for what you are
     56      allowed to do with this software's source code.
     57 
     58 AUTHORS
     59      Original implementation by acagastya <me+git@hanabi.in>.
     60 
     61 REPORTING ERRORS
     62      Please do NOT call errors as bugs.  Any incorrect behaviour of the
     63      software is an ERROR.  Report errors to
     64      acagastya <me+git@hanabi.in>.  Additionally, if you wish to submit
     65      changes/error fixes, please send a git-format-patch(1) to the same email.
     66 
     67                                   May 8, 2022                                 
     68 `
     69 	fmt.Print(msg)
     70 }