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: Shell completion #6842

Open
JamesKyburz opened this issue Mar 15, 2024 · 2 comments
Open

feat: Shell completion #6842

JamesKyburz opened this issue Mar 15, 2024 · 2 comments
Labels
type/feature Feature request

Comments

@JamesKyburz
Copy link

Support shell completion?

click has support for completion documented here

Is there any reason we shouldn't support it?

Proposal

Was thinking something along the lines of adding the allowing the following in ~/.zshrc, or ~/.bashrc

source <(sam completion)

Where we would detect if the completion is for zsh or bash, and error if the shell is unsupported.

@JamesKyburz JamesKyburz added stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. type/feature Feature request labels Mar 15, 2024
@sidhujus
Copy link
Contributor

Hi @JamesKyburz thanks for the feature request! I'll bring this up with the team.

@sidhujus sidhujus removed the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Mar 15, 2024
@super132
Copy link

As an alternative, you could try using Code Whisperer CLI and it gives smart auto-completion for SAM CLI commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

3 participants