script icon indicating copy to clipboard operation
script copied to clipboard

Making it easy to write shell-like scripts in Go

Results 65 script issues
Sort by recently updated
recently updated
newest added

Hello! Thank you for the amazing work :) I would like to suggest the possibility to output a string using JQ but with the equivalent of "-r" or "--raw" we...

Updates `FindFiles` to use `fs.WalkDir` instead of `filepath.Walk`, and ignores any errors that occur during the search. Closes #99

First, thanks for creating and maintaining this package! It's something I've wished for repeatedly since discovering Go a few years ago AND the implementation is really clean. Upon discovering `script`...

Hello, I'm currently trying to migrate from some `build.sh` and `build.ps1` files to a [magefile](https://magefile.org/) using `script`. Maybe I misunderstood the purpose of `Error()`, but when I don't need the...

Hi @bitfield, I believe I've found a reason why script should return a specific status code for command not found There are only 4 reasons to make an exec fail:...

This program ``` package main import ( "log" "os" "github.com/bitfield/script" ) func main() { h, err := os.UserHomeDir() if err != nil { log.Fatal(err) } _, err = script.FindFiles(h).Stdout() if...

There has been some valuable proposal work and prototyping on HTTP support for `script`, notably in #3, #73 , and #72. However, I haven't yet seen a design that looks...

Pipelines remind me of data flow systems and the node based editors often provides with them. Bubbletea would provide the ability to create and edit the scripts by simple parsing...

The pull request relates to issue #87 and implements the parallel execution for ExecForEach() and EachLine(). The code has been fully tested to ensure that the order of input is...

> See #113 for discussion Added a SHA-512 hashing mechanism modeled off of the SHA-256 tools. The majority of this code is nearly copy and pasted from the function with...