Repository navigation
feat(cli): ask for a GitHub star after rendering a report - #55
Merged
Merged
Conversation
`report` and `compare` end with one line asking for a star, with the repo link. It prints on interactive terminals only, so CI logs, the GitHub Action's output and anything piped stay free of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
evalshift reportandevalshift compareend with a one-line request to star the repo on GitHub, with the link:★ Find EvalShift useful? A star on GitHub helps: https://github.com/evalshift/evalshift-clisoft_wrapkeeps the URL clickable on narrow terminals.Console.is_terminal, so CI logs, the GitHub Action's captured output and piped output never include it.cli/commands/_star.pyand is called from both commands right after the report path is printed.CHANGELOG.md(Unreleased → Added),DOCS.md,llms-full.txt,docs/getting-started.md.Test plan
tests/unit/test_star_prompt.py: shown on a terminal, separated by a blank line, nothing when piped, URL kept on one line at 40 columnsreportandcompareend-to-end, withTTY_COMPATIBLE=1(shown) andTTY_COMPATIBLE=0(not shown)make ci: ruff, format,mypy --strict, 3105 tests passpre-commit run --all-filesevalshift compare --suite-name triageby hand in a real terminal on a test project🤖 Generated with Claude Code