You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v1.0.0: feat(scan): Add dependency check before running
Implement a pre-run check for required external dependencies.
- Added `checkDependencies` function in `cmd/scan/run.go` to verify
the presence of `scanimage` and `img2pdf` in the system's PATH
using `os/exec.LookPath`. Imported the `os/exec` package.
- Integrated the dependency check into the `rootCmd.RunE` function.
If dependencies are missing, an informative error message is
displayed, and the program exits gracefully. This prevents
runtime errors later during the scanning or PDF conversion process
and improves user feedback.
- Updated `todo.md` to mark "Better error reporting" and "Release
on Github" as completed.