/finplan:save-state¶
Save the current FinPlan user state JSON to a local file after any state modification.
Usage¶
Type /finplan:save-state optionally followed by a file path.
Arguments¶
| Argument | Description |
|---|---|
| (empty) | Save to default file (finplan_state.json or most recent *_finplan_state.json) |
[file-path] |
Explicit save path |
When to Save¶
Save immediately after every state change:
- Creating a new profile
- Adding or updating accounts
- Adding or updating goals
- Updating person info
- Any new financial information
Warning
Don't batch saves. Save after each individual change to avoid data loss.
What It Does¶
- Finds the existing state file (or creates a new one)
- Updates the
last_updatedfield to today's date - Writes the complete state JSON with 2-space indentation
- Confirms the save with file path and summary