Skip to content

djchie/lyft-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyft CLI

Coverage Status Build Status npm version

NPM

Introduction

This is the Lyft CLI. Saw jaebradley create one for Uber, and thought, why not make one for Lyft as well.

Use it to check for the estimated prices for a ride or for the estimated time for a car to arrive. You can also see if the lyft, lyft line, or lyft plus service is available at your address and get the estimated distance of the closest lyft, lyft line, or lyft plus car.

You can also use any of the commands below with your current location, meaning you don't have to enter in a pickup address. To do so, simply ignore the 'pickup address here' argument for the time, types, and drivers commands and the -e 'end address' argument for the price command. Note however, that the current location feature takes a little longer to render.

Just like Jae, I hate breaking my workflow and having to go through my phone to see if I should order a Lyft or not just to realize that I shouldn't and that I should just walk home instead. I'd rather do all of that from the command line.

Install via NPM

npm install lyft-cli -g

Usage

Get Time-To-Pickup Estimates

Gets an estimate on how long it'll take for a Lyft to arrive

lyft time 'pickup address here'

alt_text

Get Price Estimates

Gets an estimate on the price and duration of a Lyft ride as well as the Prime Time percentage

lyft price -s 'start address' -e 'end address'

alt_text

Get Services Avaible

Determines which of the Lyft services are available at a given location

lyft types 'pickup address here'

alt_text

Get Closest Car Estimates

Gets the distances of the nearest cars by service by a location

lyft drivers 'pickup address here'

alt_text

Using Current Location

Just don't enter in a 'pickup address here' or -e 'end address' for any of the commands.

lyft time

alt_text

License

MIT

Credits

This project is heavily inspired by Jae Bradley's uber-cli

About

This is a Lyft Command Line Interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published