Skip to content

Conversation

@burtenshaw
Copy link
Collaborator

The current implemntation logs with print statements within the cli's business logic. This can become hard to maintain/debug.

I've implemented this PR which does two things:

  • use rich for logging in __main__ for logging long processes with spinner and improved ux on traces
  • deletes all print statements in logic and replaces them with print in __main__.

Going forward, if we use this approach, I'd suggest just raise errors and logging anything for debugging and let __main__ hand the user.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 2, 2025
@burtenshaw burtenshaw requested a review from zkwentz November 2, 2025 07:14
@burtenshaw
Copy link
Collaborator Author

thanks for approving @zkwentz . I'll let you merge with your ongoing changes.

@zkwentz zkwentz merged commit e9e334f into openenv-cli/v1 Nov 2, 2025
1 check passed
@zkwentz zkwentz deleted the openenv-cli/v1-ben branch November 2, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants