aws / aws/amazon-q-developer-cli
Feature Request: Add a `--require-tools` option
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When scripting the use of `q chat`, I would like to ensure that certain tools are correctly loaded before proceeding.
To do this, I would like to propose the creation of a `--require-tools` option. This would perform the same role as `--trust-tools` but would additionally fail with a non zero exit code if the requested tools were not successfully loaded.
As it stands, either the prompt must be updated to check for tools (wasteful) or there is a risk that the application will perform an unexpected action based on the available tools.
Beitragsleitfaden
Rechercherichtung
Beginne beim Befehl `q chat` und untersuche, wie die vorhandene Option `--trust-tools` die angeforderten Tools lädt. Definiere die Fertigstellung als das Hinzufügen von `--require-tools` und die Rückgabe eines Exit-Codes ungleich null, wenn ein angefordertes Tool nicht erfolgreich geladen wird; im Issue wird keine bestimmte Quelldatei oder kein bestimmter Test genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100