feat(version): add update-check hint to yt version output #94

Merged
David merged 2 commits from feat/YT-36-version-update-hint into main 2026-07-03 17:31:47 +02:00
Owner

fj version prints a one-line hint after its banner pointing at fj version check; yt version printed only the banner. Add a matching second line so users discover yt version check without reading docs. The banner keeps its unconditional println!; the hint is non-error informational output routed through say!, so yt version --quiet suppresses the hint while still printing the banner. The clap -V / --version banner is a separate code path and is left unchanged, matching fj (its hint appears only on the version subcommand).

#YT-36

`fj version` prints a one-line hint after its banner pointing at `fj version check`; `yt version` printed only the banner. Add a matching second line so users discover `yt version check` without reading docs. The banner keeps its unconditional `println!`; the hint is non-error informational output routed through `say!`, so `yt version --quiet` suppresses the hint while still printing the banner. The clap `-V` / `--version` banner is a separate code path and is left unchanged, matching `fj` (its hint appears only on the `version` subcommand). #YT-36
feat(version): add update-check hint to yt version output
Some checks failed
Check / fmt + clippy + build + tests (pull_request) Has been cancelled
1adab6d7e8
`fj version` prints a one-line hint after its banner pointing at `fj version check`; `yt version` printed only the banner. Add a matching second line so users discover `yt version check` without reading docs. The banner keeps its unconditional `println!`; the hint is non-error informational output routed through `say!`, so `yt version --quiet` suppresses the hint while still printing the banner. The clap `-V` / `--version` banner is a separate code path and is left unchanged, matching `fj` (its hint appears only on the `version` subcommand).

#YT-36
Merge branch 'main' into feat/YT-36-version-update-hint
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 23s
Create release / Create release from merged PR (pull_request) Has been skipped
9d938f2f3c
David scheduled this pull request to auto merge when all checks succeed 2026-07-03 17:31:32 +02:00
David merged commit ca733dae55 into main 2026-07-03 17:31:47 +02:00
David deleted branch feat/YT-36-version-update-hint 2026-07-03 17:31:47 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pandoras-box/youtrack-cli!94
No description provided.