Skip to content

forestgiant/run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run

Go (golang) tool to read system commands from a JSON file and execute them.

Install

go get -u github.com/forestgiant/run

Usage

After install, create a commands.json

[{
	"path": "",
	"name": "ls",
	"args": ["-all", "-G"],
	"sleep": 500
}, {
	"path": "",
	"name": "ls",
	"args": ["-aG"],
	"sleep": 500
}, {
	"name": "pwd"
}]

Now run all the commands in order: run ./commands.json

Builds

About

Go (golang) tool to read system commands from a JSON file and execute them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages