Skip to content

DSC command completion #186

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

Closed
ThomasNieto opened this issue Sep 6, 2023 · 2 comments · Fixed by #216
Closed

DSC command completion #186

ThomasNieto opened this issue Sep 6, 2023 · 2 comments · Fixed by #216

Comments

@ThomasNieto
Copy link

Summary of the new feature / enhancement

As a user I would like the dsc executable to generate completions so that shells can use that in their tab completion.

Proposed technical implementation details (optional)

WinGet supports this feature with a complete sub-command: https://learn.microsoft.com/en-us/windows/package-manager/winget/tab-completion

@michaeltlombardi
Copy link
Collaborator

It looks like the clap_complete crate could serve this purpose.

@SteveL-MSFT
Copy link
Member

I've played with clap_complete before so it wouldn't be too difficult to add it keeping in mind it generates a shell script you'd run to register the completer.

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 a pull request may close this issue.

3 participants