A CLI for Pusher (alpha) | owner: @kn100
Clone or download
Latest commit 795bfa7 Dec 18, 2017

README.md

Pusher CLI (pusher.com)

This is a tool that allows developers access to their Pusher accounts via a command line interface.

This is an alpha release. We recommend using it for non-production apps. It may eat your laundry! We'd appreciate your feedback.

Usage

Before attempting to use the Pusher CLI, You should log into your dashboard and generate a new API key. Next, follow the installation instructions below, and then run pusher login.

Installing

There's multiple ways you can get the Pusher CLI onto your machine:

Downloading the Binary

You can download the latest release from here and add it to your path.

Building from Source

  1. Clone this repository;
  2. Pull dependencies with dep ensure;
  3. Build with go build -o pusher;
  4. Copy pusher to your $GOPATH/bin or just use it as is.

Homebrew

You can install this package via Homebrew by pasting the following into a terminal.

brew install pusher/brew/pusher

Hacking On It

  1. Clone this repository;
  2. Create a new branch by running git checkout -b <YOUR_BRANCH_NAME_HERE> master
  3. Pull dependencies with dep ensure;
  4. Ready to hack.

We publish binaries on GitHub

  1. Get fpm
  2. Get goreleaser
  3. Get rpmbuild, e.g. brew install rpm on MacOS
  4. Generate a GitHub personal access token with the repo scope selected. Set this as env var GITHUB_TOKEN.
  5. From this directory, run goreleaser (or follow these instructions)