Skip to content

[pull] master from microsoft:master#85

Merged
pull[bot] merged 2 commits into
cgallred:masterfrom
microsoft:master
Apr 15, 2026
Merged

[pull] master from microsoft:master#85
pull[bot] merged 2 commits into
cgallred:masterfrom
microsoft:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 15, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

tyrielv added 2 commits April 15, 2026 09:09
Replace reflection-based CommandLineParser 2.6.0 with Microsoft's
System.CommandLine 2.0.5 stable release. This eliminates runtime
reflection for CLI parsing, a prerequisite for NativeAOT compilation.

All 16 GVFS verbs, FastFetch, GVFS.Mount, and LockHolder migrated.
Uses SetAction+ParseResult pattern (2.0.x stable API). Shared helpers
in GVFSVerb reduce boilerplate while preserving per-verb option binding.

Replaces System.CommandLine's built-in --version (assembly reflection,
not AOT-safe) with custom --version option routing to same code as
'gvfs version' subcommand via ProcessHelper.GetCurrentProcessVersion().
Adds 'help' subcommand for backward compatibility with old CLI.
Case-insensitive verb matching preserved via args normalization.

Assisted-by: Claude Opus 4.6
Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
Migrate from CommandLineParser to System.CommandLine
@pull pull Bot locked and limited conversation to collaborators Apr 15, 2026
@pull pull Bot added the ⤵️ pull label Apr 15, 2026
@pull pull Bot merged commit 7d0389b into cgallred:master Apr 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant