Screencast (old) with example config
- UI with raw mode
- History
- Autocompletion for commands and task names
- Aliases
- Sends user input to server via TCP
- Option to daemonize with
-dflag - Log to stdout with
-debugflag - Hot-reloads config file when receives
SIGHUPsignal - Only one client at time is allowed
- Server remains listening for a new client if a client exits
Clone
git clone https://github.com/tuommii/Taskmaster.gitBuild
cd Taskmaster/
go get ./...
make buildRun
./bin/server
./bin/client
| Key | Action |
|---|---|
| Up | Next history item |
| Tab | Next suggestion (autocomplete) |
| Command (alias) | Action |
|---|---|
| status (st) | show job statuses |
| reload | reload config file |
| start (run) <job_name> | start a job |
| stop (pause) <job_name> | stop a job |
| help <job_name> | Show help |
| restart <job_name> | restart a job |
| uptime <job_name> | show uptime of process |
| fg <job_name> | attach output to server stdout |
| bg <job_name> | deattach output from server stdout |
| exit | quit |
{
"realtime": {
"command": "bash ./test.sh",
"workingDir": "./assets",
"startTime": 3,
"instances": 1,
"autostart": true,
"autorestart": "unexpected",
"stopSignal": "HUP",
"env": ["USER=Miikka", "HOME=Hermanni"],
"exitcodes": [0, 1]
},
"excode": {
"command": "bash ./test3.sh",
"workingDir": "./assets",
"autostart": false,
"startTime": 4,
"autorestart": "false",
"stopSignal": "HUP",
"env": ["USER=Miikka", "HOME=Hermanni"],
"exitcodes": [0, 1]
}
}- Flags to README
- Validation rules to README
- SIGHUP -> Send new tasknames to client
- Mutex ?
- Remove x-packages (used for optional things) ?
- Windows support if i get windows machine
- Multiline support