This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/plg: create "scan" command to set targets
While testing Pilgo as a user, I found it very bad UX-wise to have target options reset whenever I needed to rescan a directory. This commit splits "config" into two commands, "config" itself and "scan". Each command now uses a mode when setting a configuration, so "config" preserves all targets from a given configuration but still overwrites all other properties, while "scan" only resets targets, not other properties.
- Loading branch information