story-kit: create 209_story_accept_optional_positional_path_argument_on_startup
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user