diff --git a/.story_kit/work/1_upcoming/209_story_accept_optional_positional_path_argument_on_startup.md b/.story_kit/work/1_upcoming/209_story_accept_optional_positional_path_argument_on_startup.md new file mode 100644 index 0000000..8fa0d53 --- /dev/null +++ b/.story_kit/work/1_upcoming/209_story_accept_optional_positional_path_argument_on_startup.md @@ -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