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

speedyk-005 / yasbd-lib / 27254565712
97%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 05:06AM UTC
Jobs 1
Files 20
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

10 Jun 2026 05:06AM UTC coverage: 96.267% (-0.4%) from 96.62%
27254565712

push

github

web-flow
Implement radicli-based CLI with segment, detect, and langs commands (#79)

* feat: radicli-based CLI with segment, detect, langs commands

Replace typer with radicli for faster startup (3.3x faster --help).
Add three subcommands:
- segment: split text into sentences
- detect: detect sentence boundary offsets
- langs: list supported language codes

--version flag at top level, --file/-f for file input, --destination/-d for output.

* feat: radicli-based CLI with segment, detect, langs commands

Replace typer with radicli for faster startup (3.3x faster --help).
Add three subcommands:
- segment: split text into sentences
- detect: detect sentence boundary offsets
- langs: list supported language codes

--version flag at top level, --file/-f for file input, --destination/-d for output.

* feat: add clean command

* feat: auto-stdin and auto-raw on pipe

Use os.fstat() to detect pipe/file vs TTY on stdin/stdout.
Stdin auto-reads when piped or redirected. Stdout skips [N]
enumeration when piped to another process.

* fix: handle ParagraphEOF in _output

* docs: add CLI section to README, regenerate API_REFERENCES.md

* refactor(cli): --destination outputs JSONL instead of pipe-separated

- _output() writes one JSON object per line to destination file
- Segment/clean items serialize as {"text": ...}
- Detect items serialize as {"offset": ...} or {"eof": true}
- Updated README example

* docs: add About JSONL section under CLI in README

* style(cli): fix E501 line length

* chore: exclude cli.py from coverage

* test: add doctests for _to_json, _resolve_input, _output

* docs: update TOC with About JSONL entry

* feat(cli): add colored ASCII logo (yellow YA + cyan SBD)

* fix: apply CodeRabbit auto-fixes

Fixed 1 file(s) based on 2 unresolved review comments.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>

* refactor: use set comprehension to skip variable initialization

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.... (continued)

4 of 6 new or added lines in 1 file covered. (66.67%)

490 of 509 relevant lines covered (96.27%)

0.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
83.33
-16.67% src/yasbd/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 27254565712.1 10 Jun 2026 05:06AM UTC 20
96.27
GitHub Action Run
Source Files on build 27254565712
  • Tree
  • List 20
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27254565712
  • b401aea2 on github
  • Prev Build on main (#27254048618)
  • Next Build on main (#27254783174)
  • 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