Skip to content

Conversation

@jarugupj
Copy link
Contributor

@jarugupj jarugupj commented Aug 28, 2025

TL;DR

This PR enhances the deploy command by adding logs and history subcommands, providing users with better tools to monitor and debug deployments.

Why we made these changes

The deploy command previously lacked built-in ways to easily access deployment logs or view past deployment history. This change makes the CLI more powerful and user-friendly by providing direct access to critical deployment information, improving the overall developer experience.

What changed?

  • cmd/deploy.go:
    • Added a deploy logs subcommand to stream logs, with flags for following (-f), specifying a time range (--since), and showing timestamps.
    • Added a deploy history subcommand to display a table of past deployments.
    • Improved error messages to include the Deployment ID and a direct command to view logs on failure.
  • cmd/root.go:
    • Refactored the authentication exemption logic to correctly exempt the root command when it's called without any subcommands.

Description generated by Mesa. Update settings

Copy link

@mesa-dot-dev mesa-dot-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performed full review of 81967dc...252de26

2 files reviewed | 0 comments | Review on Mesa | Edit Reviewer Settings

@jarugupj jarugupj merged commit 55755c1 into main Aug 29, 2025
1 check passed
@jarugupj jarugupj deleted the phani/cmd-app-deploy-subflags branch August 29, 2025 14:21
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.

3 participants