Commit d8ed4bb
Add --force flag to update command for dev builds (#116)
## Summary
- Dev builds are no longer replaced by default during `roborev update`
- Add `--force`/`-f` flag to explicitly install official release over
dev build
- Show full download details before prompting for `--force`
This prevents accidental replacement of dev builds when testing, while
still making it easy to switch back to official releases.
## Test plan
- [x] `roborev update --check` on dev build shows "Use --force to
install..."
- [x] `roborev update` on dev build shows details then "Use --force to
install..."
- [x] `roborev update --force` on dev build proceeds to download/install
- [x] `roborev update` on official release works as before (no --force
needed)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 653bd9c commit d8ed4bb
3 files changed
+73
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1928 | 1928 | | |
1929 | 1929 | | |
1930 | 1930 | | |
| 1931 | + | |
1931 | 1932 | | |
1932 | 1933 | | |
1933 | 1934 | | |
1934 | 1935 | | |
1935 | 1936 | | |
1936 | 1937 | | |
1937 | 1938 | | |
1938 | | - | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
1939 | 1943 | | |
1940 | 1944 | | |
1941 | 1945 | | |
| |||
1952 | 1956 | | |
1953 | 1957 | | |
1954 | 1958 | | |
1955 | | - | |
| 1959 | + | |
1956 | 1960 | | |
1957 | 1961 | | |
1958 | 1962 | | |
| |||
1975 | 1979 | | |
1976 | 1980 | | |
1977 | 1981 | | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
1978 | 1991 | | |
1979 | 1992 | | |
1980 | 1993 | | |
| |||
2082 | 2095 | | |
2083 | 2096 | | |
2084 | 2097 | | |
| 2098 | + | |
2085 | 2099 | | |
2086 | 2100 | | |
2087 | 2101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
564 | 582 | | |
565 | 583 | | |
566 | 584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
260 | 298 | | |
261 | 299 | | |
262 | 300 | | |
| |||
0 commit comments