Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Completion Options for Files/Folders #61

Open
ddsmit opened this issue Sep 13, 2023 · 0 comments
Open

Additional Completion Options for Files/Folders #61

ddsmit opened this issue Sep 13, 2023 · 0 comments

Comments

@ddsmit
Copy link

ddsmit commented Sep 13, 2023

First of all, I'd like to say how much I like this tool short of some funky output I get in windows (addressed with another issue). The paradigm of keyboard friendly gui for someone like me who struggles with RSI combined with mouse functionality is great, and the ease to add it to my app is amazing.

I am using this tool with typer, and I have limited knowledge of click and what capabilities it has. Type has the ability to using type annotations to define an input as a folder or a file:

somefile: Annotated[typer.FileText, typer.Argument(mode="r")]

See the docs here.

It would be great if trogon could read these types and provide an icon for brining up a file/folder selector and if some autocomplete could be included (I love how Powershell in Windows Terminal will either complete a path or give me a list of options that fit).

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

No branches or pull requests

1 participant