{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/posener/script","name":"github.com/posener/script","description":"Package script provides helper functions to write scripts.\n\nInspired by https://github.com/bitfield/script, with some improvements:\n\n* Output between streamed commands is a stream and not loaded to memory.\n\n* Better representation and handling of errors.\n\n* Proper incocation, usage and handling of stderr of custom commands.\n\nThe script chain is represented by a\n(`Stream`) https://godoc.org/github.com/posener/script#Stream object. While each command in the\nstream is abstracted by the (`Command`) https://godoc.org/github.com/posener/script#Command\nstruct. This library provides basic functionality, but can be extended freely.\n\nA simple \"hello world\" example that creats a stream and pipe it to the stdout.\n\nAn example that shows how to iterate scanned lines.\n\nAn example that shows how to create custom commands using the `Through` method with a `PipeFn`\nfunction.","version":"v1.2.0","softwareVersion":"v1.2.0","license":"https://spdx.org/licenses/Apache-2.0","codeRepository":"https://github.com/posener/script","issueTracker":"https://github.com/posener/script/issues","url":"https://github.com/posener/script","programmingLanguage":{"@type":"ComputerLanguage","name":"Go"},"dateCreated":"2019-10-27","dateModified":"2023-07-11","datePublished":"2023-07-11","copyrightYear":2019,"downloadUrl":"https://proxy.golang.org/cached-only/github.com/posener/script/@v/v1.2.0.zip","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/posener/script#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","developmentStatus":"active","sameAs":["https://pkg.go.dev/github.com/posener/script"],"https://www.w3.org/ns/activitystreams#likes":14,"https://forgefed.org/ns#forks":3}