localstack / localstack/awscli-local
On Windows 11 the terminal proprt apears before the prints
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 1.3k
- 派生
- 94
- PR 合并指标
- 30 天内没有已合并 PR
描述
It's a bit hard to explain the issue I'm facing so adding a print screen:
You can see that I get a prompt for the next command before the awslocal command has finished running.
This causes several issues when we have several inputs to enter one after another like the configure command of aws cli, in case I want to enter credentials.
You can see I got a prompt for the next command even though I'm supposed to be in the context of the first one.
I tried this on 2 different computers, both in CMD and Powershell.
Any ideas?
Is this a bug?
As a workaround, I added this to my Powershell Profile:
function awsl {
param(
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$Args
)
aws @Args --profile local --endpoint-url http://localhost:4566
}
So instead of awslocal I'm my custom awsl at the end of each aws command (not only endpoint but also my custom aws-local profile).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 Windows 11 的 CMD 和 PowerShell 中复现 awslocal 的行为,尤其是使用 AWS CLI configure command 时的行为。将其与报告中的 PowerShell awsl workaround 进行比较,并确定相对于命令完成,prompt 何时出现。完成标准是 awslocal 在返回下一个 prompt 之前等待命令和交互式输入结束。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, python
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100