repositorypackage
0.1.0
Repository: https://github.com/webermarci/go-pipe-parser.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
go-pipe-parser
All it does is just parser command strings to feed into go-pipe
https://github.com/b4b4r07/go-pipe
Install
go get github.com/webermarci/go-pipe-parser
Example
package main
import (
"log"
pipeparser "webermarci/go-pipe-parser"
)
func main() {
command := "ls -la | grep root"
result, err := pipeparser.Run(command)
if err != nil {
log.Panicln(err)
}
log.Println(result.String())
}