Code Monkey home page Code Monkey logo

iftar's Introduction

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

iftar's People

Contributors

eneserdogan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

prosman

iftar's Issues

Strict mod kullanılmalı.

Hata kaynağı :

let spin = new spinner('%s Güncel veriler alınıyor.');
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/iftar/bin/iftar.js:2:1)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)

Zaman ayırıp uygulamayı yazdığınız için teşekkürler.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.