feat(init): accept optional directory argument (muse init <dir>)
Mirrors git init <dir> ergonomics. When a DIRECTORY positional argument is given, muse init resolves the path, creates it (including any missing parents) with mkdir -p semantics, chdirs into it, and runs the standard init logic there. CWD is not initialised. No-argument behaviour is unchanged.
13 new tests cover absolute paths, relative paths, dot, deeply-nested nonexistent paths, --force, --bare, --json, and a full status round-trip.
sha256:3064dd96a6fbacf69d865af404dcc6b8177abbb98cd1859c10841f44eef03f04
sha
sha256:2ed5cc0e3a2b321d257eec03f0b27963bf4ce37124c2ad4f8a8ad618648d8f90
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3064dd96a6fbacf69d865af404dcc6b8177abbb98cd1859c10841f44eef03f04 --body "your comment"
No comments yet. Be the first to start the discussion.