Skip to content

feat: add -v/--version CLI flag to print loader version#933

Open
zdennisz wants to merge 1 commit into
SteamDeckHomebrew:mainfrom
zdennisz:feat/cli-version-flag
Open

feat: add -v/--version CLI flag to print loader version#933
zdennisz wants to merge 1 commit into
SteamDeckHomebrew:mainfrom
zdennisz:feat/cli-version-flag

Conversation

@zdennisz

@zdennisz zdennisz commented Jul 3, 2026

Copy link
Copy Markdown

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

Description

Adds -v / --version CLI flags to main(). When passed, prints the loader version string (e.g. v3.1.0) and exits with code 0.

Uses the existing get_loader_version() helper from helpers.py — no new logic needed.

Resolves #849

Resolves SteamDeckHomebrew#849 — allows scripts to collect decky-loader version
without parsing log output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request] CLI Flag to Output Decky-Loader Information

1 participant