Willie
03ecf716e4
fix(init): route --subdir to global mode when project config exists
...
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.
2026-03-17 04:48:42 +08:00
..
2026-02-28 03:44:02 +08:00
2026-02-25 07:02:54 +08:00
2026-03-06 23:10:48 +08:00
2026-03-02 02:23:50 +08:00
2026-02-21 06:07:35 +08:00
2026-02-25 07:02:54 +08:00
2026-02-26 22:27:23 +08:00
2026-02-28 18:48:51 +08:00
2026-02-16 00:08:59 +08:00
2026-02-11 03:40:54 +08:00
2026-02-25 07:02:54 +08:00
2026-03-02 02:23:50 +08:00
2026-03-05 02:13:21 +08:00
2026-02-16 00:08:59 +08:00
2026-03-12 16:45:02 +08:00
2026-02-16 00:08:59 +08:00
2026-02-11 03:40:54 +08:00
2026-02-13 14:21:37 +08:00
2026-02-13 14:21:37 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-02-21 06:07:35 +08:00
2026-02-18 22:23:50 +08:00
2026-02-18 22:23:50 +08:00
2026-02-18 22:23:50 +08:00
2026-02-27 05:39:49 +08:00
2026-02-25 07:02:54 +08:00
2026-02-18 22:23:50 +08:00
2026-02-18 22:23:50 +08:00
2026-02-25 07:02:54 +08:00
2026-02-23 04:18:01 +08:00
2026-02-24 01:47:38 +08:00
2026-02-25 07:02:54 +08:00
2026-02-24 01:47:38 +08:00
2026-03-06 02:15:36 +08:00
2026-02-21 06:07:35 +08:00
2026-02-25 07:02:54 +08:00
2026-02-25 07:02:54 +08:00
2026-02-26 22:27:23 +08:00
2026-02-16 00:08:59 +08:00
2026-02-24 01:47:38 +08:00
2026-02-11 03:40:54 +08:00
2026-02-22 15:13:10 +08:00
2026-02-21 21:12:51 +08:00
2026-03-02 02:23:50 +08:00
2026-02-27 05:39:49 +08:00
2026-03-06 02:15:36 +08:00
2026-02-11 03:40:54 +08:00
2026-02-16 00:08:59 +08:00
2026-02-16 00:08:59 +08:00
2026-02-11 03:40:54 +08:00
2026-02-27 05:39:49 +08:00
2026-03-12 16:45:02 +08:00
2026-02-16 00:08:59 +08:00
2026-02-26 22:27:23 +08:00
2026-03-02 10:05:57 +08:00
2026-02-20 13:45:52 +08:00
2026-02-25 07:02:54 +08:00
2026-02-16 00:08:59 +08:00
2026-02-21 06:07:35 +08:00
2026-03-17 04:48:42 +08:00
2026-03-02 02:23:50 +08:00
2026-03-04 12:16:32 +08:00
2026-02-16 00:08:59 +08:00
2026-02-16 10:41:14 +08:00
2026-02-25 07:02:54 +08:00
2026-02-27 05:39:49 +08:00
2026-02-16 10:41:14 +08:00
2026-02-21 06:07:35 +08:00
2026-02-23 04:18:01 +08:00
2026-03-03 16:08:11 +08:00
2026-02-26 22:27:23 +08:00
2026-03-03 16:08:11 +08:00
2026-02-16 14:51:13 +08:00
2026-02-11 03:40:54 +08:00
2026-02-16 10:41:14 +08:00