localstack / localstack/awscli-local
On Windows 11 the terminal proprt apears before the prints
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 1.3k
- Fork
- 94
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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:
```powershell
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).
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện hành vi của awslocal trên Windows 11 trong cả CMD và PowerShell, đặc biệt với AWS CLI configure command. So sánh với workaround PowerShell awsl đã được báo cáo và xác định prompt xuất hiện khi nào so với thời điểm lệnh hoàn tất. Được xem là hoàn thành khi awslocal chờ lệnh và dữ liệu nhập tương tác hoàn tất trước khi trả về prompt tiếp theo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, python
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100