Conversation
`bref logs`, `bref deployments`, `bref deployments:show` and `bref deployments:logs` show the data of an environment from Bref Cloud. They are for humans and for AI agents: an agent gets no colors or spinners, and JSON for the deployments. `--json` gives JSON output for all of them. `--app` and `--team` identify the application without a config file, for these commands and for `secret:create`. The CLI now requires PHP 8.2 (for laravel/agent-detector) and has a PHPUnit test suite.
The latest aws/aws-sdk-php types reject a null NextToken, which fails PHPStan.
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.
New commands that show the data of an environment from Bref Cloud:
bref logs: search the logs of an environment by time range, text or regular expression, and function. The lines that Lambda and PHP-FPM write on every invocation are hidden,--allshows them. Monolog lines show their level, context and exception.--fullshows the stack traces.bref deployments: list the latest deployments of an environment.bref deployments:show [id]: show a deployment. Without an ID, it shows the latest deployment of the environment.bref deployments:logs [id]: show the logs of a deployment.The commands detect AI agents with
laravel/agent-detector. For an agent, the output has no colors or spinners, and the deployments are in JSON.--jsongives JSON output for all the commands.