cldnt

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

README

cldnt

GoDoc Widget Build Status Go Report Card

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL