Skip to content

Shell completions #129

New issue

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

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

Already on GitHub? # to your account

Merged
merged 4 commits into from
Jul 11, 2023
Merged

Shell completions #129

merged 4 commits into from
Jul 11, 2023

Conversation

akarsh1995
Copy link
Contributor

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.

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!

@clearloop clearloop merged commit d121ac1 into clearloop:master Jul 11, 2023
@clearloop
Copy link
Owner

0.4.2 is now available! https://crates.io/crates/leetcode-cli/0.4.2

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide shell completions for major shells.
2 participants