mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Without this fix, running `init --subdir` in a directory with .skillshare/config.yaml would auto-detect project mode and fail with "unknown option: --subdir" because the project parser doesn't support it. Adding --subdir to hasGlobalOnlyInitFlags() ensures correct routing to global mode. Also adds 5 integration tests covering --subdir end-to-end: config path, list discovery, sync symlinks, mode routing, dry-run.