Skip to content

alex-netkachov/golang-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-cmd

Go library for parsing the command line and seamless execution of shell commands. Works pretty much like a shell script or makefile: prints output to stdout, stops when the command fails.

The following example demonstrates how to use the library:

import "github.com/AlexAtNet/golang-cmd"

src := cmd.GetLines("find . -name *.go")
version := cmd.Get("go version")
cmd.Run("go build")

About

Go library for parsing the command line string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages