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

DX: success response #246

Open
staabm opened this issue Jun 6, 2024 · 1 comment
Open

DX: success response #246

staabm opened this issue Jun 6, 2024 · 1 comment

Comments

@staabm
Copy link

staabm commented Jun 6, 2024

running cachetool does not output anything on success. I think for DX purposes it would be great if we would at least get something like "cache successfully cleared" or similar.

that way we could easily differentiate whether the tool was running and doing its job, or something on the server is fishy and the entered command just died without any further notice.

IS:

$ php /www/www/cachetool81.phar stat:clear --fcgi=/var/run/php/php-fpm.sock
$ php /www/www/cachetool81.phar opcache:reset --fcgi=/var/run/php/php-fpm.sock
$

EXPECTED

$ php /www/www/cachetool81.phar stat:clear --fcgi=/var/run/php/php-fpm.sock
cache successfully cleared
$ php /www/www/cachetool81.phar opcache:reset --fcgi=/var/run/php/php-fpm.sock
cache successfully cleared
$
@gordalina
Copy link
Owner

Feel free to submit a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants