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

add possibility to modify generated shell command #566

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

odrevet
Copy link

@odrevet odrevet commented May 21, 2024

Add the possibility to modify a generated completion in shell mode.

Uses PromptSession package as readline hook do not works when stdin is set

Copy link

@obeone obeone left a comment

Choose a reason for hiding this comment

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

It's work after correct this error

@@ -7,6 +7,7 @@
import typer
from click import BadArgumentUsage
from click.types import Choice
Copy link

Choose a reason for hiding this comment

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

It's prompt_toolkit and not PromptSession ;)

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.

2 participants