localstack / localstack/awscli-local

On Windows 11 the terminal proprt apears before the prints

オープン
#89 コメント 1 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
1.3k
フォーク
94
PR マージ指標
30日以内にマージされた PR はありません

説明

It's a bit hard to explain the issue I'm facing so adding a print screen:
![image](https://github.com/user-attachments/assets/d867c570-3fcf-4753-9555-5257914036d7)

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.

![image](https://github.com/user-attachments/assets/15145e68-f2ee-497f-9bbd-2850d8752fa9)
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).

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Windows 11 の CMD と PowerShell の両方で、特に AWS CLI configure command を使った場合の awslocal の動作を再現します。報告されている PowerShell awsl の回避策と比較し、コマンドの完了に対してプロンプトがいつ表示されるかを確認します。awslocal がコマンドと対話型入力の完了を待ってから次のプロンプトを返すようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。