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

PowerShell Completion label has changed from powershell to power-shell. #1124

Closed
motty-mio2 opened this issue May 30, 2024 · 2 comments · Fixed by #1125
Closed

PowerShell Completion label has changed from powershell to power-shell. #1124

motty-mio2 opened this issue May 30, 2024 · 2 comments · Fixed by #1125
Assignees
Labels
bug Something isn't working

Comments

@motty-mio2
Copy link

Steps to Reproduce

  1. Install Rye 0.34.0
  2. Type rye self completion --shell powershell

Expected Result

Get output about powershell completion.

Actual Result

# rye self completion --shell powershell
error: one of the values isn't valid for an argument

Version Info

# rye --version
rye 0.34.0
commit: 0.34.0 (d31340178 2024-05-20)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

@motty-mio2
Copy link
Author

motty-mio2 commented May 30, 2024

In Rye document

-s, --shell <SHELL>: The shell to generate a completion script for (defaults to 'bash')

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

In help command

# rye self completion --help
Generates a completion script for a shell

Usage: rye self completion [OPTIONS]

Options:
  -s, --shell <SHELL>
          The shell to generate a completion script for (defaults to 'bash')

          Possible values:
          - bash:        Bourne Again SHell (bash)
          - elvish:      Elvish shell
          - fish:        Friendly Interactive SHell (fish)
          - power-shell: PowerShell
          - zsh:         Z SHell (zsh)
          - nushell:     Nushell

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

@charliermarsh charliermarsh self-assigned this May 30, 2024
@charliermarsh charliermarsh added the bug Something isn't working label May 30, 2024
@charliermarsh
Copy link
Member

Thanks, that was a bug introduced when we added Nushell. Will fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants