Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Shell completions #129

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

Merged
clearloop merged 4 commits into clearloop:master from akarsh1995:shell-completions
Jul 11, 2023
Merged

Shell completions #129

clearloop merged 4 commits into clearloop:master from akarsh1995:shell-completions
Jul 11, 2023

Conversation

Copy link
Contributor

@akarsh1995 akarsh1995 commented Jul 11, 2023

fixes #128

  • Using clap_complete to generate the shell completions for Bash, Elvish, Fish, PowerShell, Zsh
  • Hardcoded the binary name since macro crate_name!() picks up package name i.e. leetcode-cli. That hinders shell completion.
  • Added collapsible Readme description to provide support for the feature.

clearloop and Thess2782 reacted with rocket emoji
Copy link
Owner

@clearloop clearloop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

akarsh1995 reacted with thumbs up emoji
@clearloop clearloop merged commit d121ac1 into clearloop:master Jul 11, 2023
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@clearloop clearloop clearloop approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Provide shell completions for major shells.

AltStyle によって変換されたページ (->オリジナル) /