localstack / localstack/awscli-local
On Windows 11 the terminal proprt apears before the prints
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.3k
- Fork
- 94
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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).
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comportamento di awslocal su Windows 11 sia in CMD che in PowerShell, in particolare con il AWS CLI configure command. Confrontalo con il workaround PowerShell awsl segnalato e determina quando viene visualizzato il prompt rispetto al completamento del comando. Il lavoro è completato quando awslocal attende che il comando e l'input interattivo siano terminati prima di restituire il prompt successivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, python
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100