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

feat: "gen_completions" command #422

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

shawn111
Copy link
Contributor

@shawn111 shawn111 commented May 2, 2024

I'm submitting a

  • bug fix
  • feature
  • documentation addition

What is the motivation / use case for changing the behavior?

$ comtrya gen-completions --help
Auto generate completions

for examples:
 - bash: ```source <(comtrya gen-completions bash)```
 - fish: ```comtrya gen-completions fish | source```

Usage: comtrya gen-completions <SHELL>

Arguments:
  <SHELL>
          If provided, outputs the completion file for given shell

          [possible values: bash, elvish, fish, powershell, zsh]

Options:
  -h, --help
          Print help (see a summary with '-h')

@codecov-commenter
Copy link

codecov-commenter commented May 2, 2024

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 28.36%. Comparing base (b574682) to head (97e94ac).
Report is 19 commits behind head on main.

Files Patch % Lines
app/src/commands/gen_completions.rs 0.00% 5 Missing ⚠️
app/src/main.rs 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #422      +/-   ##
==========================================
- Coverage   28.59%   28.36%   -0.24%     
==========================================
  Files          85       86       +1     
  Lines        2301     2313      +12     
==========================================
- Hits          658      656       -2     
- Misses       1643     1657      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shawn111 shawn111 force-pushed the clap-completions branch 3 times, most recently from 98babba to 7686ac0 Compare May 3, 2024 06:56
@martintc martintc merged commit 08d1d44 into comtrya:main May 13, 2024
4 checks passed
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.

None yet

3 participants