Skip to content

Iftar CLI allows a quick and easy prayer times in the command line

License

Notifications You must be signed in to change notification settings

eneserdogan/iftar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iftar CLI allows a quick and easy prayer times in the command lin

Getting Started

Quick Start

Install iftar from npm:

$ [sudo] npm install -g iftar

Usage

$ iftar
iftar: iftar <city>
✔ İftar'a 5 saat 31 dakika kaldı

Autocomplete

Iftar supports powerful, robust tabbed autocompletion by default, along with custom autocompletion on both commands and options.

For example:

$ iftar
Command Autocomplete
iftar: if[tab][tab]
iftar: iftar
City Autocomplete

Complete the city selection with Tab+Tab combination

iftar: iftar A[tab][tab]

Adana  Adıyaman  Afyonkarahisar  Aksaray  Amasya  Ankara  Antalya  Ardahan  Artvin  Aydın  Ağrı
iftar: iftar [tab][tab]

Adana           Adıyaman        Afyonkarahisar  Aksaray         Amasya          Ankara          Antalya         Ardahan         Artvin
Aydın           Ağrı            Balıkesir       Bartın          Batman          Bayburt         Bilecik         Bingöl          Bitlis
Bolu            Burdur          Bursa           Denizli         Diyarbakır      Düzce           Edirne          Elazığ          Erzincan
Erzurum         Eskişehir       Gaziantep       Giresun         Gümüşhane       Hakkari         Hatay           Isparta         Iğdır
Kahramanmaraş   Karabük         Karaman         Kars            Kastamonu       Kayseri         Kilis           Koceali         Konya
Kütahya         Kırıkkale       Kırıkkale       Kırşehir        Malatya         Manisa          Mardin          Mersin          Muğla
Muş             Nevşehir        Niğde           Ordu            Osmaniye        Rize            Sakarya         Samsun          Siirt
Sinop           Sivas           Tekirdağ        Tokat           Trabzon         Tunceli         Uşak            Van             Yalova
Yozgat          Zonguldak       Çanakkale       Çankırı         Çorum           İstanbul        İzmir           Şanlıurfa       Şırnak

Help

iftar$: help

  Commands:
    help [command...]  Provides help for a given command.
    exit               Exits application.
    iftar <city>

Development environment

git clone https://github.com/eneserdogan/iftar

cd iftar
$ [sudo] yarn install
$ node index.js

Unit Test

$ npm test
> [email protected] test /Users/eneserdogan/Desktop/iftar
> mocha

  Iftar Command Line Tools
    ✓ <city> => "Istanbul" <response.status> => "200"

  1 passing (19ms)

Version

See the Releases section of our GitHub project for changelogs for each release version of Trino.

License

The GNU General Public License v3.0 - see LICENSE for more details

About

Iftar CLI allows a quick and easy prayer times in the command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published