Skip to content

Find cheap flights with ease. From the command line.

License

Notifications You must be signed in to change notification settings

danielmoraes/fly-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fly-cli
Fly CLI

Airfare search engine for the command line.

npm version npm downloads Standard - JavaScript Style Guide


To use Fly from Node.js, see fly.

Install

To install a fly-cli command line app, run:

npm install @danielmoraes/fly-cli -g

Usage

$ fly-cli
Usage:
    fly-cli [command] <options>
Example:
    fly-cli search sao rio 2019-01-01
Commands:
    search <origin> <destination> <date>  Find the lowest fares by source

To make a query:

$ fly-cli search sao rio 2019-01-01
{ sources:
   [ { sourceName: 'Avianca', lowestFare: 169 },
     { sourceName: 'Azul', lowestFare: 187.1 },
     { sourceName: 'Gol', lowestFare: 175.17 },
     { sourceName: 'Latam', lowestFare: 195.84 } ],
  lowestFare: 169 }

License

MIT. Copyright (c) Daniel Moraes.

About

Find cheap flights with ease. From the command line.

Resources

License

Stars

Watchers

Forks

Packages

No packages published