cldnt

Requirements
- Internet connection
- Go 1.12.x (for development)
Installation
Installation on Mac OSX
brew tap oleewere/repo
brew install cldnt
Installation on Linux
Using wget:
CLDNT_VERSION=0.1.0
wget -qO- "https://github.com/oleewere/cldnt/releases/download/v${CLDNT_VERSION}/cldnt_${CLDNT_VERSION}_linux_64-bit.tar.gz" | tar -C /usr/bin -zxv cldntl
Using curl:
CLDNT_VERSION=0.1.0
curl -L -s "https://github.com/oleewere/cldnt/releases/download/v${CLDNT_VERSION}/cldnt_${CLDNT_VERSION}_linux_64-bit.tar.gz" | tar -C /usr/bin -xzv cldnt
Build
Build locally:
make build
Or build in docker image:
docker build -t oleewere/cldnt:latest .
Usage
# if it is installed
cldnt --help
# if it is built locally
./cldnt --help
Run in docker container (if it has already built)
docker run --rm oleewere/cldnt:latest --help
Currently only airports command is supported:
# see available parameters
cldnt help airports
# using it:
cldnt airports
# note: if latitude and longitude is not provided, the app will try to calculate those details by the public IP