Commit a42bab0
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 ed0706e commit a42bab0
File tree
2 files changed
+4
-2
lines changed- packages
- cli/src/repowise/cli/commands
- server/src/repowise/server/routers
2 files changed
+4
-2
lines changed| 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 | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments