Skip to content

biswas08433/observe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Observe

Concurrent monitoring Program for executables.

Prerequisite

Install golang on your system. Link: https://go.dev/doc/install

Install

go install github.com/biswas08433/observe

Usage

To initialise the folder for observation

observe --init

This will create a file called obsconfig.json. Modify the value as needed.

Then for starting:

observe --run

Example obsconfig.json

Let's say you want to run build and run using two commands:

$ go build .
$ ./test2 < input.txt

Then the buildSystem is "go" and the arguments are "build" and "."

Similarly the executable is "./test2" and the arguments are "<" and "input.txt"

If you want to add other folders inside your working folder for observation, add the path to the "folders" list.

{
    "buildSystem": "go",
    "buildArgs": [
        "build",
        "."
    ],
    "executable": "./test2",
    "args": ["<", "input.txt"],    
    "folders": ["./Public","./Views", "/MoreFolders"]
}

About

Concurrent monitoring Program for executables.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages