Skip to content
/ shout Public

sh[ell]out - a helper for external commands

License

Notifications You must be signed in to change notification settings

32b/shout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

shout

sh[ell]out - a helper for external commands

if s("ls *").p("xargs rm -rf").b() {
	s("echo it worked")
}
s("ls").tf("contents.txt")
s(myVar).p("cat")
result,err:=s("echo",myVar1,myVar2).e()
lines:=s("cat",myVar2).list()
s("curl -s example.com/users/1").c(*user)
myFilterFunc:=func(in string) string {
	if (in == "bad"){
		return nil
	}
	return in
}
s("cat things.txt").f(myFilterFunc).p("grep abc")

About

sh[ell]out - a helper for external commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published