haystack

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

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 4 Imported by: 0

README

Haystack GoDoc Go Report Card

Pinboard search CLI

Installation

First install Go.

If you just want to install the binary to your current directory and don't care about the source code, run

GOBIN="$(pwd)" go install github.com/carlmjohnson/haystack@latest

Screenshots

$ haystack -h
haystack - a Pinboard search client

usage:

        haystack [options] <tags>...

All options may be set by an environmental variable, like $PINBOARD_AUTH_TOKEN.

Options:

  -auth-token token
        auth token, see https://pinboard.in/settings/password
  -password string
        password
  -t    shortcut for -tag-search
  -tag-search
        search for similar tags, rather than saved pages
  -timeout duration
        timeout for query (default 5s)
  -user string
        username

$ haystack -t sql
"SQL": 32
"SQLite": 7
"Yesql": 7
"MySQL": 2

$ haystack MySQL
Title: hyperpolyglot.org
Date: Mar. 7, 2017 8:22am
Tags: MySQL Postgres database SQLite SQL
URL: http://hyperpolyglot.org/db

Title: pgloader
Date: May. 2, 2016 4:04pm
Tags: database Postgres MySQL command_line_tools
URL: http://pgloader.io/

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