• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dcdpr / jp / 27717090033
67%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 08:20PM UTC
Jobs 1
Files 418
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jun 2026 08:17PM UTC coverage: 66.62% (-0.01%) from 66.631%
27717090033

push

github

web-flow
feat(cli, conversation): Add `--confirm` flag to mutating commands (#757)

Replace the simple `--yes` / `-y` flag on `conversation archive` and
`conversation rm` with a shared `ConfirmFlag` that exposes three modes:
`--confirm` forces a prompt before every change, `--no-confirm` (aliased
as `--yes` / `-y`) skips all prompts, and omitting the flag defers to
each command's own default.

The default behaviour is intentionally asymmetric: `archive` is
reversible, so it prompts only for pinned or active conversations unless
`--confirm` is passed; `rm` is destructive, so it prompts by default and
only skips when `--no-confirm` / `--yes` is given explicitly.

The new `ConfirmFlag` lives in `jp_cli::shared::confirm` so it can be
reused by any future mutating command without duplicating the argument
definitions.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

7 of 26 new or added lines in 3 files covered. (26.92%)

35574 of 53398 relevant lines covered (66.62%)

437.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
29.41
-4.37% crates/jp_cli/src/cmd/conversation/archive.rs
2
18.52
-0.23% crates/jp_cli/src/cmd/conversation/rm.rs
Jobs
ID Job ID Ran Files Coverage
1 27717090033.1 17 Jun 2026 08:20PM UTC 418
66.62
GitHub Action Run
Source Files on build 27717090033
  • Tree
  • List 418
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27717090033
  • f59e31f1 on github
  • Prev Build on main (#27716315784)
  • Next Build on main (#27721933543)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc