Skip to content

Tags: bitfield/script

Tags

v0.22.1

Toggle v0.22.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update First(n int) to read no more data than necessary (#199)

First(N) now closes its output after it has read N lines, terminating the pipe 
without consuming unnecessary further input (apart from the 4KiB scanner 
buffer).

Co-authored-by: John Arundel <[email protected]>

v0.22.0

Toggle v0.22.0's commit message
Refactor

v0.21.4

Toggle v0.21.4's commit message
Filter: preserve previous error if func succeeds

v0.21.3

Toggle v0.21.3's commit message
Report ExecForEach command exit errors to the pipe

v0.21.2

Toggle v0.21.2's commit message
short-circuit on error (fixes #141)

v0.21.1

Toggle v0.21.1's commit message
Tweaks

v0.21.0

Toggle v0.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #139 from bitfield/http

Add HTTP support via Do, Get, Post

v0.20.2

Toggle v0.20.2's commit message
Change some t.Errors to t.Fatals

v0.20.1

Toggle v0.20.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Don't close pipe in SetError (#120)

Fixes #117.

* The pipe shouldn't be closed on SetError function

* Fix TestExecRunsGoWithNoArgsAndGetsUsageMessagePlusErrorExitStatus2 test. It was not checking that exit status is two

* Update test name to match what is really doing

* Fix example for getting exit status from exec

* Add new example for exit status not zero on Exec

v0.20.0

Toggle v0.20.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #106 from bitfield/jq

Add JQ filter