Commit Graph

3 Commits

Author SHA1 Message Date
IamTheFij 25c5179d3d Switch to a single key for command and command shell
continuous-integration/drone/push Build is passing Details
This makes the configuration more similar to Minitor-py and
docker-compose. If a string is passed, it will be executed in a shell.
If an array is passed, it will be executed in as a command directly.

This breaks compatiblity with previous versions of Minitor-go, but
closer to compatiblity with Minitor-py.
2020-02-19 17:38:06 -08:00
IamTheFij 6b9edf75d7 Move panics up to main function 2019-10-04 16:17:36 -07:00
IamTheFij f99ee9891e Add some test cases to cover main
These don't include any asserts, but they do check panics
2019-10-04 15:46:49 -07:00