story-kit: start 209_story_accept_optional_positional_path_argument_on_startup

This commit is contained in:
Dave
2026-02-26 14:25:58 +00:00
parent 113b2500fa
commit 2e40cfcc44

View File

@@ -0,0 +1,21 @@
---
name: "Accept optional positional path argument on startup"
---
# Story 209: Accept optional positional path argument on startup
## User Story
As a user, I want to run `story-kit-server .` or `story-kit-server /path/to/project` to start the server with that directory as the project, so that I don't have to use the UI file chooser.
## Acceptance Criteria
- [ ] Running `story-kit-server` with no args behaves as today (auto-detect from cwd)
- [ ] Running `story-kit-server .` opens the current directory as the project
- [ ] Running `story-kit-server /some/path` opens that path as the project
- [ ] If the path has no .story_kit/, it is scaffolded automatically
- [ ] Invalid paths produce a clear error message
## Out of Scope
- TBD