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

Add vagrant chassis command with helpers #497

Open
rmccue opened this issue Mar 9, 2018 · 1 comment
Open

Add vagrant chassis command with helpers #497

rmccue opened this issue Mar 9, 2018 · 1 comment

Comments

@rmccue
Copy link
Contributor

rmccue commented Mar 9, 2018

It would be great if we could have some custom Chassis CLI commands. Something like:

  • vagrant chassis
    • config - Prints merged configuration for the current project.
    • extensions
      • add {name|url} - Add extension by name/URL
      • remove {name} - Remove extension
    • debug - Maybe a helper for troubleshooting?

Maybe more too!

@BronsonQuick
Copy link
Member

I'll dump a couple of examples of things that might be nice for the debug command:

  1. Sometimes avahi stops working on the box and the url doesn't resolve in the browser: sudo service avahi-daemon restart can fix this. We can check the status with service avahi-daemon status
  2. Sometimes an install will fail and give a 255 error. This often tends to be caused by PHP throwing errors. We could try and toggle on error reporting and running the command again to see if that works. We could maybe grep the logs/php output for fatals. A few ways to replicate this could be having missing files in require_once or a dodgy setup of Memcache(d).

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

No branches or pull requests

2 participants