5 Commits

Author SHA1 Message Date
99ad5b9d7f Format markdown and YAML files with deno fmt 2025-12-18 19:42:05 +01:00
f1de3c2050 Add unit tests and test tasks
- Add main_test.go with tests for formatContextInfo, stripANSI,
  StatusInput parsing, getGitInfo, and getGiteaStatus
- Add test, test:cover, test:fixture tasks to Taskfile
- 45% code coverage
2025-12-18 06:36:56 +01:00
db80a7da81 Add modernize tasks to Taskfile 2025-12-18 06:36:56 +01:00
4773460f3f Add golangci-lint config and lint tasks
- Add .golangci.yml with sensible defaults for the project
- Add lint and lint:fix tasks to Taskfile
- Remove unused findGitRoot function
- Apply gofumpt formatting fixes
2025-12-18 06:36:56 +01:00
1cca87af90 Use gopsutil for cross-platform process detection
Replace pgrep with gopsutil/v4 for pure Go process detection.
Now fully cross-platform (Linux, FreeBSD, macOS, Windows) with
zero external exec calls. Add Taskfile and test fixture.
2025-12-18 06:36:56 +01:00