Commit f225ae8
committed
fix: make delete CLI path a --path option, clarify FTS guard comment
Reviewer feedback:
- path as a second positional arg was unreachable (Click assigns
left-to-right, so a path string would land in repo_id). Now --path/-p.
- Added comment explaining fts is always initialized in lifespan, so
the None guard is purely defensive.1 parent f781ac8 commit f225ae8
2 files changed
Lines changed: 4 additions & 2 deletions
File tree
- packages
- cli/src/repowise/cli/commands
- server/src/repowise/server/routers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
0 commit comments