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

toomuchdesign / openapi-ts-json-schema / 26281385456
100%

Build:
DEFAULT BRANCH: master
Ran 22 May 2026 10:03AM UTC
Jobs 1
Files 31
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

22 May 2026 10:01AM UTC coverage: 100.0%. Remained the same
26281385456

push

github

web-flow
feat: expose cli (#601)

* feat: add CLI

Introduce an `openapi-ts-json-schema` binary built on citty, with two
mutually exclusive modes: passing options as flags, or pointing to a
JS/TS config file loaded via jiti.

Flag names mirror the API's Options keys (kebab-cased for multi-word
ones) so the CLI surface and the programmatic API stay in lockstep.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: add CLI changeset

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test: cover CLI code paths to reach 100% coverage

Add fixture-based config files under test/fixtures/cli-configs/ and tests
for --single flag mode, non-object config defaults, and missing default
exports. Simplify cliCommand to drop unnecessary ternaries around splitList.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor: move CLI sources into src/cli/

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test: cover cli.ts via in-process import in cli.test.ts

Await runMain at the top level so a dynamic import of cli.ts settles only
once the command finishes, then exercise it through process.argv from the
main CLI test file. Removes the standalone cli-entry test.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor: rename src/cli/cli.ts to src/cli/index.ts

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

168 of 168 branches covered (100.0%)

Branch coverage included in aggregate %.

29 of 29 new or added lines in 3 files covered. (100.0%)

293 of 293 relevant lines covered (100.0%)

153.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26281385456.1 22 May 2026 10:03AM UTC 31
100.0
GitHub Action Run
Source Files on build 26281385456
  • Tree
  • List 31
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26281385456
  • 0afce171 on github
  • Prev Build on master (#25736937108)
  • Next Build on master (#26291300940)
  • Delete
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