Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: response formatting #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrewmd5
Copy link

Changes

  1. Formatted Output for Readability: Implemented an output formatting function that enhances the readability of the mentor's responses. This includes wrapping text to fit the terminal width and applying ANSI color coding for a visually appealing presentation.

  2. Raw Output Option: Added a -nf/--no-format command-line option to the ask action. When used, this option skips the custom formatting and pretty-prints the response from the mentor as the script originally did.

  3. Prompt and Response Separation: The output now clearly separates the user's prompt from the mentor's response when formatting.

Screenshot 2023-12-26 at 2 17 52 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant