Skip to content

Add filesystem path autocompletion for click.Path parameters - #126

Open
chourroutm wants to merge 2 commits into
Textualize:mainfrom
chourroutm:main
Open

Add filesystem path autocompletion for click.Path parameters#126
chourroutm wants to merge 2 commits into
Textualize:mainfrom
chourroutm:main

Conversation

@chourroutm

Copy link
Copy Markdown

Attach a PathAutoComplete (textual-autocomplete) to the Input widget generated for any click.Path option or argument, so users get live directory listings instead of typing paths by hand. Closes #125.

chourroutm and others added 2 commits August 4, 2026 17:25
Attach a PathAutoComplete (textual-autocomplete) to the Input widget
generated for any click.Path option or argument, so users get live
directory listings instead of typing paths by hand. Closes Textualize#125.
Click 8.3 changed unset parameter defaults from None to a dedicated
UNSET sentinel, which trogon was passing straight through and
stringifying, showing "Sentinel.UNSET" in fields like click.Path
options. Treat UNSET the same as None when normalizing defaults.

Fixes Textualize#124

Co-Authored-By: Claude Sonnet 5 <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.

Support path autocompletion for Path-typed Click options (via textual-autocomplete)

1 participant