Skip to content

🚆 Best CLI tool to check the Indonesian railway booking code as easily, quickly, and elegantly.

License

Notifications You must be signed in to change notification settings

ayatmaulana/cekBookingKeretaCLI

Repository files navigation

gridly

Cek Booking Kereta CLI

contributions welcome Version License

Best CLI tool to check the Indonesian railway booking code as easily, quickly, and elegantly.

Just install it, and simplify your life.

Installing

  1. Yarn

yarn global add cek-booking-kereta

  1. Npm

npm install -g cek-booking-kereta

Usage

after installed globally, just run

booking-kereta -c YOUR_BOOKING_CODE

example

booking-kereta -c VHTM2P

gridly

🚀 Depedency

List of depedencies that I use in this project

  • CoffeeScript
  • PhantomJs
  • NightmareJs
  • Cheerio
  • Ora
  • Commander
  • Chalk
  • Cli-table3

Testing

  • Mocha
  • Chai

☁️ Help

Then you can use the booking-kereta -V for see current version and booking-kereta -h for see help page:

$ booking-kereta -h

  Usage: booking-kereta [options]


  Options:

    -V, --version              output the version number
    -c, --code [booking_code]  Booking Code
    -h, --help                 output usage information

💤 Test

for unit testing, you just need to run this command

  1. Using Yarn

yarn test

  1. Using Npm

npm test

📜 License

MIT © Ayat Maulana

About

🚆 Best CLI tool to check the Indonesian railway booking code as easily, quickly, and elegantly.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published