Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cardinal pretty logging, improve goroutine reliability, kill --…
…watch (#64) ### TL;DR ### What changed? - `world cardinal dev` now use pretty logging on latest Cardinal version. This is done by setting `CARDINAL_PRETTY_LOG` to true. - Refactors to goroutine management in `world cardinal start` and `world cardinal dev` to make it more reliable using error group. - Disable printing the usage guide when a command returns an error. - Various string reformatting using lipgloss to make things look pretty. - Prevent exit code 130, 137, 143 from being treated as an error since it's an expected exit code from Docker when it receives termination signal (i.e. Ctrl + C, SIGKILL, SIGTERM, etc) - Kill `world cardinal dev --watch` flag because runner is ugly and buggy af ### How to test? 1. Run `world cardinal dev` and `world cardinal start` and try to break it. This includes running it against various edge cases (i.e. Redis already running, kill redis when cardinal is running, etc)
- Loading branch information