Repository navigation
Commit 478c4de
feat(cli): deprecate braintrust eval and push (#1203)
## Summary
`braintrust eval` and `braintrust push` now print a stderr deprecation
warning pointing to the standalone
[`bt`](https://github.com/braintrustdata/bt) CLI, and are marked
`(deprecated)` in `--help`. Both commands keep working unchanged.
Follows the approach from #1201 via a shared `cli/_deprecation.py`
(`add_deprecated_parser`), independent of `cli/install/` (which is being
removed separately). `__main__.py` is untouched.
```
Warning: braintrust eval is deprecated. Use bt eval. Install bt: https://github.com/braintrustdata/bt#installation
Warning: braintrust push is deprecated. Use bt functions push. Install bt: https://github.com/braintrustdata/bt#installation
```
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>1 parent 6086f73 commit 478c4de
3 files changed
Lines changed: 46 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
326 | 332 | | |
327 | 333 | | |
328 | 334 | | |
329 | | - | |
| 335 | + | |
| 336 | + | |
330 | 337 | | |
331 | | - | |
332 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
333 | 342 | | |
334 | 343 | | |
335 | 344 | | |
| |||
412 | 421 | | |
413 | 422 | | |
414 | 423 | | |
415 | | - | |
416 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
418 | 425 | | |
419 | 426 | | |
420 | 427 | | |
421 | | - | |
| 428 | + | |
| 429 | + | |
422 | 430 | | |
423 | | - | |
424 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
425 | 435 | | |
426 | 436 | | |
427 | 437 | | |
| |||
447 | 457 | | |
448 | 458 | | |
449 | 459 | | |
450 | | - | |
| |||
0 commit comments