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

Debug Command #2218

Merged
merged 1 commit into from Aug 14, 2020
Merged

Debug Command #2218

merged 1 commit into from Aug 14, 2020

Conversation

duncanmcclean
Copy link
Member

After talking with Jason yesterday, I've created a command which can be run by a user and will output information, like Statamic version, PHP version, installed addons etc.

It should be helpful to replace the bottom part in Github issues asking about environment information etc, where it could ask users to run this command instead and paste the output into the Github issue.

Implements #267. Let me know if there's any changes you'd like me to make to this.

Screenshots

I've taken a screenshot of the command output.

image

@edalzell
Copy link
Contributor

Could it copy that info to the clipboard too?

@duncanmcclean
Copy link
Member Author

duncanmcclean commented Aug 14, 2020

Could it copy that info to the clipboard too?

Now you're asking hard questions.... I'm not sure if that's possible in Laravel or Symfony but I'll have a look.

@jasonvarga
Copy link
Member

I don't think you should worry about copying.

I wouldn't want it to automatically copy, and an argument would be no different than php please command | pbcopy

@jasonvarga jasonvarga merged commit 9f25a3f into statamic:master Aug 14, 2020
@duncanmcclean duncanmcclean deleted the feature/debug-command branch August 14, 2020 19:57
@jasonvarga
Copy link
Member

Thanks again for this. We ended up making a few tweaks, and calling this php please support:details. There may be other commands in the support namespace later.

@duncanmcclean
Copy link
Member Author

Thanks again for this. We ended up making a few tweaks, and calling this php please support:details. There may be other commands in the support namespace later.

No problemo! Wasn't too sure what to call it so I went with debug but support:details seems like a better solution. 😄

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.

None yet

3 participants