Best CLI tool to check the Indonesian railway booking code as easily, quickly, and elegantly.
Just install it, and simplify your life.
- Yarn
yarn global add cek-booking-kereta
- Npm
npm install -g cek-booking-kereta
after installed globally, just run
booking-kereta -c YOUR_BOOKING_CODE
example
booking-kereta -c VHTM2P
List of depedencies that I use in this project
- CoffeeScript
- PhantomJs
- NightmareJs
- Cheerio
- Ora
- Commander
- Chalk
- Cli-table3
- Mocha
- Chai
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
for unit testing, you just need to run this command
- Using Yarn
yarn test
- Using Npm
npm test
MIT © Ayat Maulana