AWS amazonq documentation change
Summary
Added documentation for multi-line statement handling in CLI using /editor command and /reply functionality
Security assessment
Changes focus on usability improvements for multi-line input handling in the CLI interface without any security-related context or references to security features/vulnerabilities
Diff
diff --git a/amazonq/latest/qdeveloper-ug/command-line-chat.md b/amazonq/latest/qdeveloper-ug/command-line-chat.md index 5e934dd96..6e73ead83 100644 --- a//amazonq/latest/qdeveloper-ug/command-line-chat.md +++ b//amazonq/latest/qdeveloper-ug/command-line-chat.md @@ -5 +5 @@ -Starting a chat session +Starting a chat sessionEntering multi-line statements @@ -21,0 +22,18 @@ To exit the chat session, type `/quit` or press **Ctrl** **+D** . +## Entering multi-line statements + +To enter multi-line statements in Amazon Q Developer CLI, use the `/editor` command: + + + /editor + +This opens your default editor (defaults to vi) where you can compose longer, multi-line prompts. After you save and close the editor, the content will be sent as your message to Amazon Q Developer CLI. + +You can also: + + * Use the `/reply` command to open your editor with the most recent assistant message quoted for reply, which is useful for multi-line responses to previous messages. + + * Type your statement into a text editor and cut-paste it into Amazon Q Developer CLI. + + + +