Wire up -o for stories; remove -o from status
- Extract _add_output_arg() helper; add it explicitly to summary, csv, and stories subparsers (removes it implicitly from status) - _cmd_stories now honours args.output, redirecting print_stories output to the given file (same pattern as _cmd_summary) - Update README with stories -o example
This commit is contained in:
parent
cd8ca789aa
commit
0204accd05
2 changed files with 19 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ uv run timesheets csv -w --raw --joplin # full week, no aggregation
|
|||
```sh
|
||||
uv run timesheets stories --joplin # today
|
||||
uv run timesheets stories -w --joplin # full week
|
||||
uv run timesheets stories -w --joplin -o stories.md # write to file
|
||||
```
|
||||
|
||||
### status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue