https://github.com/martiis/blink1-run
Shell script runner for blink1
https://github.com/martiis/blink1-run
blink1 runner script-runner
Last synced: 3 days ago
JSON representation
Shell script runner for blink1
- Host: GitHub
- URL: https://github.com/martiis/blink1-run
- Owner: martiis
- License: mit
- Created: 2015-10-26T11:25:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-01T03:12:20.000Z (over 10 years ago)
- Last Synced: 2023-09-03T20:23:34.769Z (over 2 years ago)
- Topics: blink1, runner, script-runner
- Language: Shell
- Homepage:
- Size: 145 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blink1-run
Shell script runner for [blink1-tool][2]. In order this script to work you must have [command-line][1] tool from blink1. Script provided in this repository can only be run on systems that has bash (Linux, OSX).
## setup
```
# git clone https://github.com/martiis/blink1-run.git
# mv ./blink1-run/bin/blink1-run /usr/local/bin/blink-run
```
## usage
Try out by running a command with blink1-run prefix. f.e. `blink1-run ls`. You should see green light. This runner also checks for exit codes. If exited with code **0 green light**, **else red light**. If a program is running longer it should blink in blue during that period.
## troubleshoot
- If you have any problems with permissions try this `chmod u+x /usr/local/bin/blink-run`
[1]: https://blink1.thingm.com/blink1-tool/
[2]: https://blink1.thingm.com