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

[DevX][XXS] Improve Output Formatting for deploy() Function in preswald/cli.py #39

Open
amrutha97 opened this issue Jan 16, 2025 · 1 comment · May be fixed by #97
Open

[DevX][XXS] Improve Output Formatting for deploy() Function in preswald/cli.py #39

amrutha97 opened this issue Jan 16, 2025 · 1 comment · May be fixed by #97
Labels
good first issue Good for newcomers

Comments

@amrutha97
Copy link
Member

amrutha97 commented Jan 16, 2025

Description

The deploy() function in preswald/cli.py Link currently outputs information, but the formatting could be improved for better readability. We would like to "pretty print" this output to make it clearer and more user-friendly.

Tasks

  1. Locate the deploy() function in preswald/cli.py.
  2. Analyze the current output of the deploy() function.
  3. Update the code to format the output using pretty print techniques, such as:
    • Aligning columns or sections.
    • Adding headers or separators where necessary.
    • Using colors for emphasis if the output is displayed in a terminal (optional, using libraries like rich or colorama).
  4. Ensure the formatting works correctly with a variety of input scenarios.

Acceptance Criteria

  • The output from the deploy() function is well-organized and easy to read.
  • Changes are tested to ensure they don't break existing functionality.
  • If applicable, include screenshots or terminal examples of the updated output.

Resources

@amrutha97 amrutha97 added the good first issue Good for newcomers label Jan 16, 2025
aaryan182 added a commit to aaryan182/preswald that referenced this issue Feb 10, 2025
@mukut-d
Copy link

mukut-d commented Feb 25, 2025

Hi , i would to give it a try, if anyone is not working on it?

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

Successfully merging a pull request may close this issue.

2 participants