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

nette / command-line / 38220768974
99%

Build:
DEFAULT BRANCH: master
Ran 12 Oct 2026 07:58AM UTC
Jobs 1
Files 24
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

12 Oct 2026 07:53AM UTC coverage: 98.866% (+0.6%) from 98.283%
38220768974

push

github

dg
Prompt asks the user at a terminal: choose() reads one of the choices, the default on an empty answer and null at the end of the input

A question has two ends, the console and the input, so it is a class of its own
and not a method of Console. It refuses with a LogicException before writing or
reading when either end is not a terminal; inputTerminal: overrides the input for
a test. The choices are a list shown as [y/N/a] after the question, or a map of a
choice to its description drawn as a menu above it; the answer is taken in any
case and returned as declared, an unknown one asks again. The end of the input is
null, never the default, so a closed input cannot loop.

The terminal echoes the answer with its newline, which Console::markLineStart(),
internal, tells the console, so the next status opens no empty line.

48 of 48 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

1221 of 1235 relevant lines covered (98.87%)

0.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
99.01
-0.45% src/CommandLine/HelpRenderer.php
Jobs
ID Job ID Ran Files Coverage
1 38220768974.1 12 Oct 2026 07:58AM UTC 24
98.87
GitHub Action Run
Source Files on build 38220768974
  • Tree
  • List 24
  • Changed 6
  • Source Changed 6
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38220768974
  • a7f6217a on github
  • Prev Build on master (#38218105844)
  • Next Build on master (#38221708799)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc