Goal
Introduce a settings layer for yapi. The first setting to support: where request data (saved requests, history, etc.) is stored on disk.
Scope
- Settings mechanism (file format + load/save) — pick a sensible default location (e.g.
~/.config/yapi/ on Unix).
- Setting: storage path for request-related data.
- Default value when unset.
- Override via config file.
- Override via CLI flag / env var (TBD which).
- Apply the configured path consistently across CLI and TUI.
Out of scope (later issues)
- Other settings (theme, keybindings, proxies, etc.) — add as separate issues when needed.
- UI screen for editing settings inside the TUI.
Acceptance criteria
- User can change where request data is saved without editing source code.
- Both CLI and TUI honor the configured path.
- Default behavior works out of the box with no config file present.
Goal
Introduce a settings layer for yapi. The first setting to support: where request data (saved requests, history, etc.) is stored on disk.
Scope
~/.config/yapi/on Unix).Out of scope (later issues)
Acceptance criteria