@tanky/cli
v1.2.0
Published
CLI to retrieve nearby fuel prices from public datasets.
Readme
@tanky/cli
Command-line interface for fuel price lookup from public datasets.
Install
npm i -g @tanky/cliOr use with npx:
npx @tanky/cli best --lat 41.39 --lon 2.17 --fuel gasoline95Commands
tanky best
Find the cheapest station for a fuel type near a location.
tanky best --lat 41.39 --lon 2.17 --fuel gasoline95 --radius 5Options:
--lat <number>required--lon <number>required--radius <number>default:5--fuel <fuelType>default:gasoline95--limit <number>default:10--country <country>default:ES--json
tanky near
Find nearby stations with sorting.
tanky near --lat 41.39 --lon 2.17 --radius 5 --sort distance --limit 10Options:
--lat <number>required--lon <number>required--radius <number>default:5--fuel <fuelType>default:gasoline95--sort <distance|price>default:distance--limit <number>default:10--country <country>default:ES--json
Output
Default output is Markdown.
Use --json to get machine-readable JSON.
Monorepo
Repository: https://github.com/aleixalonso/tanky
