Skip to content

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

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.

Provide shell completions for major shells.
2 participants