Open
Conversation
Adds a new `deployment:logs` CLI command that fetches and displays build and deploy logs for a given deployment. Supports deployment ID resolution, --json output, and gracefully handles unavailable log phases. Closes laravel#66 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Mar 16, 2026
Bug: cloud ship has 8 issues affecting reliability in both interactive and non-interactive modes
#73
Open
JoshSalway
added a commit
to JoshSalway/cloud-cli
that referenced
this pull request
Mar 16, 2026
Documents 11 new commands added by our PRs: - environment:start, environment:stop (laravel#70) - environment:metrics (laravel#72) - deployment:logs (laravel#71) - cache:metrics, database-cluster:metrics (laravel#72) - websocket-cluster:metrics, websocket-application:metrics (laravel#72) - env:pull, env:push (laravel#81) - use (laravel#80) Also updated environment:variables description to include 'delete' action. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
deployment:logsCLI command that fetches and displays build and deploy logs for a specific deployment via theGET /deployments/{deployment}/logsAPI endpoint--jsonflag for machine-readable outputCloses #66
Related: #69
Test plan
./vendor/bin/pest-- all 36 tests pass./vendor/bin/phpstan analyse-- no errorsphp cloud deployment:logs <deployment-id>displays build/deploy steps with outputphp cloud deployment:logs <deployment-id> --jsonreturns full JSON responsephp cloud deployment:logs(no ID) triggers interactive deployment resolution🤖 Generated with Claude Code