pub

command module
v0.0.0-...-a5f1173 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 15 Imported by: 0

README

pub

CLI for publishing a message to a Pub/Sub topic

Install

$ go install github.com/torkelrogstad/pub@latest

Usage

$ pub topic data

The Google Cloud project to operate in is determined either through the -project flag, or through inspecting the output of gcloud config list --format 'value(core.project)'.

If the data argument is a valid base64 byte slice, we decode it and send that data. Otherwise, the string itself is sent.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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