chrisdicarlo / laravel-config-checker

Checks if configuration values exist by scanning for usage in the codebase.
MIT License
90 stars 4 forks source link

[Feature Request]: CLI flag for disabling progress #6

Closed jacob418 closed 3 weeks ago

jacob418 commented 4 weeks ago

What happened?

The 'feature request' form seems broken so i have to use this bug report form, sorry.

When using the command in GitLab CI the progress bar produces a mess in the job log:

image

It would be good if for CI this command had a cli flag, to turn off the output of the progress bar for example --no-progress.

How to reproduce the bug

  1. Push a laravel project to gitlab.com
  2. Add a gitlab-ci job to run the php artisan config:check command in the ci script
  3. Review the job-log

Package Version

1.0.2

PHP Version

8.3.0

Laravel Version

10.43.0

Which operating systems does with happen with?

Linux

Notes

No response

chrisdicarlo commented 3 weeks ago

I'm adding this feature. Thanks for the tip!

chrisdicarlo commented 3 weeks ago

This feature has been implemented but not yet tagged in a release. @jacob418 Would you be able to test the flag in your build to ensure it cleans up the logs with your setup?