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

dcdpr / jp / 23977385715
67%

Build:
DEFAULT BRANCH: main
Ran 04 Apr 2026 10:59AM UTC
Jobs 1
Files 258
Run time 1min
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

04 Apr 2026 10:50AM UTC coverage: 64.188% (-0.06%) from 64.252%
23977385715

push

github

web-flow
feat(cli): Process `--tool`/`--no-tool` flags left-to-right (#513)

Previously, `--tool` and `--no-tools` values were collected into
separate vecs and applied in a fixed order: disable-all > enable-all >
enable-named > disable-named. The position of flags on the command line
had no effect, making interleaved usage like `--tool=write --no-tools
--tool=read` surprising and unexpressive.

This implements RFD-008 by introducing a `ToolDirective` enum and a
`ToolDirectives` struct that preserves flag order using
`ArgMatches::indices_of`. `apply_enable_tools` now iterates directives
sequentially, enabling precise tool composition:

    # Start from nothing, add only what you need
    jp q --no-tools --tool=write

    # Start from everything, carve out exceptions
    jp q --tools --no-tool=dangerous_tool

The former restriction against combining bare `--no-tool` with bare
`--tool` is removed, since ordered evaluation makes that well-defined.

---------

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

68 of 110 new or added lines in 1 file covered. (61.82%)

19908 of 31015 relevant lines covered (64.19%)

321.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
42
28.9
-0.27% crates/jp_cli/src/cmd/query.rs
Jobs
ID Job ID Ran Files Coverage
1 23977385715.1 04 Apr 2026 10:59AM UTC 258
64.19
GitHub Action Run
Source Files on build 23977385715
  • Tree
  • List 258
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23977385715
  • 9b026f4c on github
  • Prev Build on main (#23974043178)
  • Next Build on main (#23995111517)
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