update travis

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
3 files changed
tree: a70546eec60a3989af021eb305fff85022ed1465
  1. .gitignore
  2. .goosarch
  3. .travis.yml
  4. .traviskey
  5. Dockerfile
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION.txt
  10. aftership/
  11. basic.mk
  12. create.go
  13. get.go
  14. go.mod
  15. go.sum
  16. list.go
  17. main.go
  18. remove.go
  19. vendor/
  20. version/
README.md

ship

Travis CI GoDoc Github All Releases

Command line tool to track packages using the AfterShip API.

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/ship

Running with Docker

$ docker run --rm -it \
    -v /etc/localtime:/etc/localtime:ro \
    --name ship \
    -e "AFTERSHIP_API_KEY=your_api_key" \
    r.j3ss.co/ship

Usage

$ ship -h
ship -  Command line tool to track packages using the AfterShip API.

Usage: ship <command>

Flags:

  -d        enable debug logging (default: false)
  --apikey  AfterShip API Key (or env var AFTERSHIP_API_KEY) (default: <none>)

Commands:

  create   Create a shipment.
  get      Get details for a shipment.
  ls       List shipments.
  rm       Delete a shipment.
  version  Show the version information.

Create a Shipment

$ ship create -h
Usage: ship create [OPTIONS] TRACKING_NUMBER

Create a shipment.

Flags:

  --apikey  AfterShip API Key (or env var AFTERSHIP_API_KEY) (default: <none>)
  -d        enable debug logging (default: false)

Get a Shipment

$ ship get -h
Usage: ship get [OPTIONS] TRACKING_NUMBER

Get details for a shipment.

Flags:

  --apikey  AfterShip API Key (or env var AFTERSHIP_API_KEY) (default: <none>)
  -d        enable debug logging (default: false)

List Shipments

$ ship ls -h
Usage: ship ls 

List shipments.

Flags:

  --apikey  AfterShip API Key (or env var AFTERSHIP_API_KEY) (default: <none>)
  -d        enable debug logging (default: false)

Delete a Shipment

$ ship rm -h
Usage: ship rm [OPTIONS] TRACKING_NUMBER

Delete a shipment.

Flags:

  --apikey  AfterShip API Key (or env var AFTERSHIP_API_KEY) (default: <none>)
  -d        enable debug logging (default: false)